Class ConsentNotExistsException
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.ConsentNotExistsException
- All Implemented Interfaces:
Serializable
Thrown when trying to retrieve a consent that doesn't exist from the database
- Author:
- David Flor invalid input: '<'493294@mail.muni.cz>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConsentNotExistsException
(Consent consent) Constructor with the consent that does not existConsentNotExistsException
(String message) Simple constructor with a messageConsentNotExistsException
(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
-
ConsentNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ConsentNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ConsentNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ConsentNotExistsException
Constructor with the consent that does not exist- Parameters:
consent
- the consent
-
-
Method Details
-
getConsent
Getter for the consent that doesn't exist- Returns:
- the consent that doesn't exist
-