Package com.sap.cds.reflect
Class CdsElementNotFoundException
- 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.CdsElementNotFoundException
-
- All Implemented Interfaces:
Serializable
public class CdsElementNotFoundException extends CdsReflectiveOperationException
Indicates a missingCdsElement
inCdsDefinition
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CdsElementNotFoundException(String path, CdsDefinition definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CdsDefinition
getDefinition()
Get the definition for which the element was requestedString
getElementName()
Get the missing element name or path-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CdsElementNotFoundException
public CdsElementNotFoundException(String path, CdsDefinition definition)
-
-
Method Detail
-
getElementName
public String getElementName()
Get the missing element name or path- Returns:
- element name or path
-
getDefinition
public CdsDefinition getDefinition()
Get the definition for which the element was requested- Returns:
- definition
-
-