Class AttributeNotAssignedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotAssignedException
cz.metacentrum.perun.core.api.exceptions.AttributeNotAssignedException
- All Implemented Interfaces:
Serializable
This exception is used when trying to remove an attribute from the service that hasn't been assigned before.
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionAttributeNotAssignedException
(AttributeDefinition attribute) Constructor with attribute that has not been assigned beforeAttributeNotAssignedException
(String message) Simple constructor with a messageAttributeNotAssignedException
(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 not been assigned beforeMethods 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
-
AttributeNotAssignedException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
AttributeNotAssignedException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
AttributeNotAssignedException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
AttributeNotAssignedException
Constructor with attribute that has not been assigned before- Parameters:
attribute
- that has not been assigned before
-
-
Method Details
-
getAttribute
Getter for the attribute that has not been assigned before- Returns:
- attribute that has not been assigned before
-