Class ResourceNotExistsException

All Implemented Interfaces:
Serializable

public class ResourceNotExistsException extends EntityNotExistsException
This exception is thrown when trying to get a resource which does not exist in the database
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • ResourceNotExistsException

      public ResourceNotExistsException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • ResourceNotExistsException

      public ResourceNotExistsException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • ResourceNotExistsException

      public ResourceNotExistsException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • ResourceNotExistsException

      public ResourceNotExistsException(Resource resource)
      Constructor with the resource
      Parameters:
      resource - resource that does not exist
  • Method Details

    • getResource

      public Resource getResource()
      Getter for the resource
      Returns:
      resource that does not exist