Class WrongAttributeAssignmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.WrongAttributeAssignmentException
- All Implemented Interfaces:
Serializable
Thrown while assigning attribute to wrong entity. For example if you try to set value for the facility to attribute
which is only for resources.
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor with the attributeWrongAttributeAssignmentException
(String message) Simple constructor with a messageWrongAttributeAssignmentException
(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
-
WrongAttributeAssignmentException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
WrongAttributeAssignmentException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
WrongAttributeAssignmentException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
WrongAttributeAssignmentException
Constructor with the attribute- Parameters:
attribute
- attribute that was supposed to be assigned to the wrong entity
-
-
Method Details
-
getAttribute
Getter for the attribute- Returns:
- attribute that was supposed to be assigned to the wrong entity
-