All Implemented Interfaces:
Serializable

public class IsRelatedToAlreadyPresentException extends RelationAlreadyPresentException
Thrown when an IsRelatedTo relation between the given source and target Resources already exists (subject to the polymorphic uniqueness invariant). Mapped to 409 Conflict by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • IsRelatedToAlreadyPresentException

      public IsRelatedToAlreadyPresentException(String message)
      Instantiates a new checks if is related to already present exception.
      Parameters:
      message - the message
    • IsRelatedToAlreadyPresentException

      public IsRelatedToAlreadyPresentException(Throwable cause)
      Instantiates a new checks if is related to already present exception.
      Parameters:
      cause - the cause
    • IsRelatedToAlreadyPresentException

      public IsRelatedToAlreadyPresentException(String message, Throwable cause)
      Instantiates a new checks if is related to already present exception.
      Parameters:
      message - the message
      cause - the cause