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 by Model.getItem, if there is no item with the given ID.
Author:
Ralf Wiebicke
See Also:
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • 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.