Class EntityNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    UIEntityNotFoundException

    public class EntityNotFoundException
    extends java.lang.RuntimeException
    When an entity cannot be found in the database.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EntityNotFoundException

        public EntityNotFoundException​(java.lang.String message)
        Construct a new EntityNotFoundException with the specified message.
        Parameters:
        message - the message explaining the exception.
      • EntityNotFoundException

        public EntityNotFoundException​(java.lang.String message,
                                       java.lang.Throwable cause)
        Construct a new EntityNotFoundException with the specified message and cause.
        Parameters:
        message - the message explaining the exception.
        cause - the original cause of the exception