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
public class UUIDAlreadyInUseException extends ResourceRegistryException
The Class UUIDAlreadyInUseException. Thrown when a caller-suppliedUUIDis 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 to409 Conflictby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UUIDAlreadyInUseException(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, withResponseMetadata
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UUIDAlreadyInUseException
public UUIDAlreadyInUseException(String message)
Instantiates a new UUID already in use exception.- Parameters:
message- the message
-
-