All Implemented Interfaces:
Serializable

public class ResourceAlreadyPresentException extends EntityAlreadyPresentException
Thrown when a Resource with the given UUID already exists (e.g. reusing a UUID via PUT/PATCH while enforcing structural idempotency). Mapped to 409 Conflict by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • ResourceAlreadyPresentException

      public ResourceAlreadyPresentException(String message)
      Instantiates a new resource already present exception.
      Parameters:
      message - the message
    • ResourceAlreadyPresentException

      public ResourceAlreadyPresentException(Throwable cause)
      Instantiates a new resource already present exception.
      Parameters:
      cause - the cause
    • ResourceAlreadyPresentException

      public ResourceAlreadyPresentException(String message, Throwable cause)
      Instantiates a new resource already present exception.
      Parameters:
      message - the message
      cause - the cause