Class RelationExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.RelationExistsException
- All Implemented Interfaces:
Serializable
This exception means that some relation or dependency exists which prevents to execute the action.
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionRelationExistsException
(String message) Simple constructor with a messageRelationExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectRelationExistsException
(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
-
RelationExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
RelationExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
RelationExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-