Class AttributeAlreadyAssignedException
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.AttributeAlreadyAssignedException
- All Implemented Interfaces:
Serializable
This exception is thrown when you try to assign attribute as required by the service but the attribute has already
been assigned.
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor with an attributeAttributeAlreadyAssignedException
(String message) Simple constructor with a messageAttributeAlreadyAssignedException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionGetter for the attribute that has already been assignedMethods 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
-
AttributeAlreadyAssignedException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
AttributeAlreadyAssignedException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
AttributeAlreadyAssignedException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
AttributeAlreadyAssignedException
Constructor with an attribute- Parameters:
attribute
- that has already been assigned
-
-
Method Details
-
getAttribute
Getter for the attribute that has already been assigned- Returns:
- attribute that has already been assigned
-