Class ResourceTagAlreadyAssignedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityAlreadyAssignedException
cz.metacentrum.perun.core.api.exceptions.ResourceTagAlreadyAssignedException
- All Implemented Interfaces:
Serializable
This exception is thrown when the resourceTag has already been assigned to the resource
- Author:
- Stava Michal invalid input: '<'stavamichal@gmail.com>
- See Also:
-
Constructor Summary
ConstructorDescriptionResourceTagAlreadyAssignedException
(ResourceTag resourceTag) Constructor with the resourceTagSimple constructor with a messageResourceTagAlreadyAssignedException
(String message, ResourceTag resourceTag) Constructor with a message and the resourceTagResourceTagAlreadyAssignedException
(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
-
ResourceTagAlreadyAssignedException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ResourceTagAlreadyAssignedException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ResourceTagAlreadyAssignedException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ResourceTagAlreadyAssignedException
Constructor with the resourceTag- Parameters:
resourceTag
- that has already been assigned to the resource
-
ResourceTagAlreadyAssignedException
Constructor with a message and the resourceTag- Parameters:
message
- message with details about the causeresourceTag
- that has already been assigned to the resource
-
-
Method Details
-
getResourceTag
Getter for the resourceTag- Returns:
- resourceTag that has already been assigned to the resource
-