Class SchemaAlreadyPresentException

  • All Implemented Interfaces:
    Serializable

    public class SchemaAlreadyPresentException
    extends AlreadyPresentException
    Thrown when a Type with the given name already exists with a different schema (i.e. a non-idempotent re-submit on PUT /types/{type-name}). Mapped to 409 Conflict by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • SchemaAlreadyPresentException

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

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

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