Class ConsentHubExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityExistsException
cz.metacentrum.perun.core.api.exceptions.ConsentHubExistsException
- All Implemented Interfaces:
Serializable
Thrown when trying to create consent hub with name that already exists.
- Author:
- Johana Supikova invalid input: '<'xsupikov@fi.muni.cz>
- See Also:
-
Constructor Summary
ConstructorDescriptionConsentHubExistsException
(ConsentHub consentHub) Constructor with the consentHubConsentHubExistsException
(String message) Simple constructor with a messageConsentHubExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Methods 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
-
ConsentHubExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ConsentHubExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ConsentHubExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ConsentHubExistsException
Constructor with the consentHub- Parameters:
consentHub
- consentHub that already exists
-
-
Method Details
-
getConsentHub
Getter for the consentHub- Returns:
- consentHub that already exists
-