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