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