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
public class InvalidContextNameException extends ResourceRegistryException
Thrown when a caller-supplied Contextnamedoes not match the required format. Mapped to400 Bad Requestby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidContextNameException(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, withResponseMetadata
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidContextNameException
public InvalidContextNameException(String message)
Instantiates a new invalid context name exception.- Parameters:
message- the message
-
-