Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaCreationException
Base exception for Type schema error conditions that do not fall under
SchemaAlreadyPresentException, SchemaNotFoundException, or
SchemaViolationException (e.g. SchemaCreationException). Mapped
to 400 Bad Request by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaException(String message) Instantiates a new schema exception.SchemaException(String message, Throwable cause) Instantiates a new schema exception.SchemaException(Throwable cause) Instantiates a new schema exception. -
Method Summary
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadataMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaException
Instantiates a new schema exception.- Parameters:
message- the message
-
SchemaException
Instantiates a new schema exception.- Parameters:
cause- the cause
-
SchemaException
Instantiates a new schema exception.- Parameters:
message- the messagecause- the cause
-