Class ServiceAlreadyBannedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.ServiceAlreadyBannedException
- All Implemented Interfaces:
Serializable
This exception is thrown when the service is already blocked/banned on facility/destination.
- Author:
- Pavel Zlámal invalid input: '<'zlamal@cesnet.cz>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceAlreadyBannedException(Service service, Destination destination) Constructor with the service and the facilityServiceAlreadyBannedException(Service service, Facility facility) Constructor with the service and the facilityServiceAlreadyBannedException(String message) Simple constructor with a messageServiceAlreadyBannedException(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionGetter for the destinationGetter for the facilityGetter for the serviceMethods inherited from class PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceAlreadyBannedException
Simple constructor with a message- Parameters:
message- message with details about the cause
-
ServiceAlreadyBannedException
-
ServiceAlreadyBannedException
Constructor with a Throwable object- Parameters:
cause- Throwable that caused throwing of this exception
-
ServiceAlreadyBannedException
-
ServiceAlreadyBannedException
Constructor with the service and the facility- Parameters:
service- service that is already blocked/banneddestination- destination on which the service is blocked/banned
-
-
Method Details
-
getDestination
Getter for the destination- Returns:
- destination on which the service is blocked/banned
-
getFacility
Getter for the facility- Returns:
- facility on which the service is blocked/banned
-
getService
-