Class ResourceCreationException

  • All Implemented Interfaces:
    Serializable

    public class ResourceCreationException
    extends EntityCreationException
    Thrown when a generic, non-conflict failure occurs while creating a Resource. Mapped to 400 Bad Request by the REST layer. Not currently thrown by the server implementation.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceCreationException

        public ResourceCreationException​(String message)
        Instantiates a new resource creation exception.
        Parameters:
        message - the message
      • ResourceCreationException

        public ResourceCreationException​(Throwable cause)
        Instantiates a new resource creation exception.
        Parameters:
        cause - the cause
      • ResourceCreationException

        public ResourceCreationException​(String message,
                                         Throwable cause)
        Instantiates a new resource creation exception.
        Parameters:
        message - the message
        cause - the cause