Class ResourceNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class ResourceNotFoundException
    extends EntityNotFoundException
    Thrown when the Resource identified by the given UUID does not exist, or is not visible to the caller. Mapped to 404 Not Found by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceNotFoundException

        public ResourceNotFoundException​(String message)
        Instantiates a new resource not found exception.
        Parameters:
        message - the message
      • ResourceNotFoundException

        public ResourceNotFoundException​(Throwable cause)
        Instantiates a new resource not found exception.
        Parameters:
        cause - the cause
      • ResourceNotFoundException

        public ResourceNotFoundException​(String message,
                                         Throwable cause)
        Instantiates a new resource not found exception.
        Parameters:
        message - the message
        cause - the cause