Class ConsentHubExistsException

All Implemented Interfaces:
Serializable

public class ConsentHubExistsException extends EntityExistsException
Thrown when trying to create consent hub with name that already exists.
Author:
Johana Supikova invalid input: '<'xsupikov@fi.muni.cz>
See Also:
  • Constructor Details

    • ConsentHubExistsException

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

      public ConsentHubExistsException(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
    • ConsentHubExistsException

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

      public ConsentHubExistsException(ConsentHub consentHub)
      Constructor with the consentHub
      Parameters:
      consentHub - consentHub that already exists
  • Method Details

    • getConsentHub

      public ConsentHub getConsentHub()
      Getter for the consentHub
      Returns:
      consentHub that already exists