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