Class DestinationAlreadyAssignedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.DestinationAlreadyAssignedException
- All Implemented Interfaces:
Serializable
Exception is thrown when the destination has already been assigned to the facility and service.
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionDestinationAlreadyAssignedException
(Destination destination) Constructor with the destinationSimple constructor with a messageDestinationAlreadyAssignedException
(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
-
DestinationAlreadyAssignedException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
DestinationAlreadyAssignedException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
DestinationAlreadyAssignedException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
DestinationAlreadyAssignedException
Constructor with the destination- Parameters:
destination
- destination which has already been assigned
-
-
Method Details
-
getDestination
Getter for the destination- Returns:
- destination which has already been assigned
-