Class ConsentHubNotExistsException

All Implemented Interfaces:
Serializable

public class ConsentHubNotExistsException extends EntityNotExistsException
Thrown when the Consent Hub has not been found in the database
Author:
Jakub Hejda <Jakub.Hejda@cesnet.cz>
See Also:
  • Constructor Details

    • ConsentHubNotExistsException

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

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

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

      public ConsentHubNotExistsException(ConsentHub consentHub)
      Constructor with the consent hub that does not exist
      Parameters:
      consentHub - the consent hub
  • Method Details

    • getConsentHub

      public ConsentHub getConsentHub()
      Getter for the consent hub that does not exist
      Returns:
      the consent hub that does not exist