Class FacetAlreadyPresentException

  • All Implemented Interfaces:
    Serializable

    public class FacetAlreadyPresentException
    extends EntityAlreadyPresentException
    Thrown when a Facet with the given UUID already exists (e.g. reusing a UUID via PUT/PATCH while enforcing structural idempotency). Mapped to 409 Conflict by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • FacetAlreadyPresentException

        public FacetAlreadyPresentException​(String message)
        Instantiates a new facet already present exception.
        Parameters:
        message - the message
      • FacetAlreadyPresentException

        public FacetAlreadyPresentException​(Throwable cause)
        Instantiates a new facet already present exception.
        Parameters:
        cause - the cause
      • FacetAlreadyPresentException

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