Class ConsentExistsException

All Implemented Interfaces:
Serializable

public class ConsentExistsException extends PerunException
This exception is thrown when trying to create a consent with the same data that is already in database.
See Also:
  • Constructor Details

    • ConsentExistsException

      public ConsentExistsException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • ConsentExistsException

      public ConsentExistsException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • ConsentExistsException

      public ConsentExistsException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • ConsentExistsException

      public ConsentExistsException(Consent consent)
      Constructor with consent
      Parameters:
      consent - consent