Package com.exedio.cope
Class NoSuchIDException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.exedio.cope.NoSuchIDException
-
- All Implemented Interfaces:
Serializable
public final class NoSuchIDException extends Exception
Signals, that an attempt to find an item by it's ID has been failed, because there is no item with such an ID. This exception will be thrown byModel.getItem
, if there is no item with the given ID.- Author:
- Ralf Wiebicke
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
boolean
notAnID()
Returns, whether the id is invalid on principle within the currently deployed model, this means, there will never be and has never been an item for this id.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
notAnID
public boolean notAnID()
Returns, whether the id is invalid on principle within the currently deployed model, this means, there will never be and has never been an item for this id.
-
-