Class EntityCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.CreationException
org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.EntityCreationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FacetCreationException,ResourceCreationException
Base exception for a generic, non-conflict failure to create a Resource or Facet.
Mapped to
400 Bad Request by the REST layer. Not currently thrown by the
server implementation, either directly or via its ResourceCreationException/
FacetCreationException leaves.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityCreationException(String message) Instantiates a new entity creation exception.EntityCreationException(String message, Throwable cause) Instantiates a new entity creation exception.EntityCreationException(Throwable cause) Instantiates a new entity 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
-
EntityCreationException
Instantiates a new entity creation exception.- Parameters:
message- the message
-
EntityCreationException
Instantiates a new entity creation exception.- Parameters:
cause- the cause
-
EntityCreationException
Instantiates a new entity creation exception.- Parameters:
message- the messagecause- the cause
-