Class UUIDAlreadyInUseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.UUIDAlreadyInUseException
- All Implemented Interfaces:
Serializable
The Class UUIDAlreadyInUseException. Thrown when a caller-supplied
UUID is
already bound to an existing element of a different type than the one being
created — a client error distinct from the same-type case (AlreadyPresentException)
and from same-type cross-context visibility (AvailableInAnotherContextException,
403 Forbidden). Mapped to 409 Conflict by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUUIDAlreadyInUseException(String message) Instantiates a new UUID already in use exception.UUIDAlreadyInUseException(String message, Throwable cause) Instantiates a new UUID already in use 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
-
UUIDAlreadyInUseException
Instantiates a new UUID already in use exception.- Parameters:
message- the message
-
UUIDAlreadyInUseException
Instantiates a new UUID already in use exception.- Parameters:
message- the messagecause- the cause
-