Class ConsentHubNotExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotExistsException
cz.metacentrum.perun.core.api.exceptions.ConsentHubNotExistsException
- All Implemented Interfaces:
Serializable
Thrown when the Consent Hub has not been found in the database
- Author:
- Jakub Hejda invalid input: '<'Jakub.Hejda@cesnet.cz>
- See Also:
-
Constructor Summary
ConstructorDescriptionConsentHubNotExistsException
(ConsentHub consentHub) Constructor with the consent hub that does not existConsentHubNotExistsException
(String message) Simple constructor with a messageConsentHubNotExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionGetter for the consent hub that does not existMethods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConsentHubNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ConsentHubNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ConsentHubNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ConsentHubNotExistsException
Constructor with the consent hub that does not exist- Parameters:
consentHub
- the consent hub
-
-
Method Details
-
getConsentHub
Getter for the consent hub that does not exist- Returns:
- the consent hub that does not exist
-