Class InvalidUUIDException

  • All Implemented Interfaces:
    Serializable

    public class InvalidUUIDException
    extends ResourceRegistryException
    The Class InvalidUUIDException. Thrown when a caller-supplied string is not a valid UUID. Mapped to 400 Bad Request by the REST layer.
    Author:
    Luca Frosini (ISTI - CNR)
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidUUIDException

        public InvalidUUIDException​(String message)
        Instantiates a new invalid UUID exception.
        Parameters:
        message - the message
      • InvalidUUIDException

        public InvalidUUIDException​(String message,
                                    Throwable cause)
        Instantiates a new invalid UUID exception.
        Parameters:
        message - the message
        cause - the cause