Class InvalidUUIDException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidUUIDException
-
- All Implemented Interfaces:
Serializable
public class InvalidUUIDException extends ResourceRegistryException
The Class InvalidUUIDException. Thrown when a caller-supplied string is not a validUUID. Mapped to400 Bad Requestby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidUUIDException(String message)Instantiates a new invalid UUID exception.InvalidUUIDException(String message, Throwable cause)Instantiates a new invalid UUID 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
-
InvalidUUIDException
public InvalidUUIDException(String message)
Instantiates a new invalid UUID exception.- Parameters:
message- the message
-
-