Package com.sap.cds.reflect
Class CdsOperationNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sap.cds.CdsException
-
- com.sap.cds.reflect.CdsReflectiveOperationException
-
- com.sap.cds.reflect.CdsOperationNotFoundException
-
- All Implemented Interfaces:
Serializable
public class CdsOperationNotFoundException extends CdsReflectiveOperationException
Indicates that aCdsEntity
doesn't have an operation (action or function) with a specified name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CdsOperationNotFoundException(CdsKind kind, String operationName, CdsDefinition definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CdsDefinition
getDefinition()
Get the definition for which the operation was requestedCdsKind
getKind()
Get the operation kindString
getOperationName()
Get the missing operation-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CdsOperationNotFoundException
public CdsOperationNotFoundException(CdsKind kind, String operationName, CdsDefinition definition)
-
-
Method Detail
-
getOperationName
public String getOperationName()
Get the missing operation- Returns:
- operation name
-
getDefinition
public CdsDefinition getDefinition()
Get the definition for which the operation was requested- Returns:
- definition
-
-