Class BanAlreadyExistsException
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.BanAlreadyExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when the ban on the facility/resource/vo already exists
- Author:
- Michal Stava invalid input: '<'stavamichal@gmail.com>
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor with the ban that already existsBanAlreadyExistsException
(String message) Simple constructor with a messageBanAlreadyExistsException
(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
-
BanAlreadyExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
BanAlreadyExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
BanAlreadyExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
BanAlreadyExistsException
Constructor with the ban that already exists- Parameters:
ban
- ban that already exists
-
-
Method Details
-
getBan
Getter for the ban- Returns:
- the ban that already exists
-
setBan
Setter for the ban- Parameters:
ban
- the ban that already exists
-