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 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 Details

    • InvalidContextNameException

      public InvalidContextNameException(String message)
      Instantiates a new invalid context name exception.
      Parameters:
      message - the message
    • InvalidContextNameException

      public InvalidContextNameException(String message, Throwable cause)
      Instantiates a new invalid context name exception.
      Parameters:
      message - the message
      cause - the cause