Class RelationCreationException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    ConsistsOfCreationException, IsRelatedToCreationException

    public class RelationCreationException
    extends CreationException
    Base exception for a generic, non-conflict failure to create a relation (ConsistsOf/IsRelatedTo). Mapped to 400 Bad Request by the REST layer. Not currently thrown by the server implementation, either directly or via its ConsistsOfCreationException/IsRelatedToCreationException leaves.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • RelationCreationException

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

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

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