Class DestinationExistsException
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.DestinationExistsException
- All Implemented Interfaces:
Serializable
Exception is thrown when the destination already exists
- Author:
- Michal Prochazka
- See Also:
-
Constructor Summary
ConstructorDescriptionDestinationExistsException
(Destination destination) Constructor with the destinationDestinationExistsException
(String message) Simple constructor with a messageDestinationExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionGets the destination for this instance.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
-
DestinationExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
DestinationExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
DestinationExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
DestinationExistsException
Constructor with the destination- Parameters:
destination
- destination which already exists
-
-
Method Details
-
getDestination
Gets the destination for this instance.- Returns:
- The destination
-