Class UUIDAlreadyInUseException

All Implemented Interfaces:
Serializable

public class UUIDAlreadyInUseException extends ResourceRegistryException
The Class UUIDAlreadyInUseException. Thrown when a caller-supplied UUID is already bound to an existing element of a different type than the one being created — a client error distinct from the same-type case (AlreadyPresentException, 409 Conflict) and from same-type cross-context visibility (AvailableInAnotherContextException, 403 Forbidden). Mapped to 400 Bad Request by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • UUIDAlreadyInUseException

      public UUIDAlreadyInUseException(String message)
      Instantiates a new UUID already in use exception.
      Parameters:
      message - the message
    • UUIDAlreadyInUseException

      public UUIDAlreadyInUseException(String message, Throwable cause)
      Instantiates a new UUID already in use exception.
      Parameters:
      message - the message
      cause - the cause