Class InvalidContextNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.InvalidContextNameException
- All Implemented Interfaces:
Serializable
Thrown when a caller-supplied Context
name does not match the required format.
Mapped to 400 Bad Request by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidContextNameException(String message) Instantiates a new invalid context name exception.InvalidContextNameException(String message, Throwable cause) Instantiates a new invalid context name 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
-
InvalidContextNameException
Instantiates a new invalid context name exception.- Parameters:
message- the message
-
InvalidContextNameException
Instantiates a new invalid context name exception.- Parameters:
message- the messagecause- the cause
-