Class ConsentExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.ConsentExistsException
- All Implemented Interfaces:
- Serializable
This exception is thrown when trying to create a consent with the same data that is already in database.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConsentExistsException(Consent consent) Constructor with consentConsentExistsException(String message) Simple constructor with a messageConsentExistsException(String message, Throwable cause) Constructor with a message and Throwable objectConsentExistsException(Throwable cause) Constructor with a Throwable object
- 
Method SummaryMethods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunExceptiongetErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ConsentExistsExceptionSimple constructor with a message- Parameters:
- message- message with details about the cause
 
- 
ConsentExistsExceptionConstructor with a message and Throwable object- Parameters:
- message- message with details about the cause
- cause- Throwable that caused throwing of this exception
 
- 
ConsentExistsExceptionConstructor with a Throwable object- Parameters:
- cause- Throwable that caused throwing of this exception
 
- 
ConsentExistsExceptionConstructor with consent- Parameters:
- consent- consent
 
 
-