Class ConsistsOfAlreadyPresentException

  • All Implemented Interfaces:
    Serializable

    public class ConsistsOfAlreadyPresentException
    extends RelationAlreadyPresentException
    Thrown when a ConsistsOf relation between the given Resource and Facet already exists (e.g. violating Facet-exclusivity uniqueness). Mapped to 409 Conflict by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ConsistsOfAlreadyPresentException

        public ConsistsOfAlreadyPresentException​(String message)
        Instantiates a new consists of already present exception.
        Parameters:
        message - the message
      • ConsistsOfAlreadyPresentException

        public ConsistsOfAlreadyPresentException​(Throwable cause)
        Instantiates a new consists of already present exception.
        Parameters:
        cause - the cause
      • ConsistsOfAlreadyPresentException

        public ConsistsOfAlreadyPresentException​(String message,
                                                 Throwable cause)
        Instantiates a new consists of already present exception.
        Parameters:
        message - the message
        cause - the cause