Class ContextAlreadyPresentException

  • All Implemented Interfaces:
    Serializable

    public class ContextAlreadyPresentException
    extends AlreadyPresentException
    Thrown when a Context with the given UUID already exists with a different representation than the one being submitted. Mapped to 409 Conflict by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • ContextAlreadyPresentException

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

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

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