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
ConstructorsConstructorDescriptionDestinationExistsException(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 PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class 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
-
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
-