Class CreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.CreationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntityCreationException,RelationCreationException
Base exception for a generic, non-conflict failure to create a new Resource, Facet,
relation, Context, Type schema, or Query Template — specialized per collection (e.g.
EntityCreationException).
Mapped to 400 Bad Request by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreationException(String message) Instantiates a new creation exception.CreationException(String message, Throwable cause) Instantiates a new creation exception.CreationException(Throwable cause) Instantiates a new creation 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
-
CreationException
Instantiates a new creation exception.- Parameters:
message- the message
-
CreationException
Instantiates a new creation exception.- Parameters:
cause- the cause
-
CreationException
Instantiates a new creation exception.- Parameters:
message- the messagecause- the cause
-