Class AttributeValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.AttributeValueException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WrongAttributeValueException
,WrongReferenceAttributeValueException
Something is wrong with attribute value. See exception which extends this exception.
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionAttributeValueException
(Attribute attribute) Constructor with an attribute in which the problem occurredAttributeValueException
(Attribute attribute, String message) Constructor with an attribute in which the problem occurred and the message with detailsAttributeValueException
(Attribute attribute, String message, Throwable cause) Constructor with an attribute in which the problem occurred, the throwable and the message with detailsAttributeValueException
(Attribute attribute, Throwable cause) Constructor with an attribute in which the problem occurred and the throwable objectAttributeValueException
(String message) Simple constructor with a messageAttributeValueException
(String message, Throwable cause) Constructor with a message and Throwable objectAttributeValueException
(Throwable cause) Constructor 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
-
AttributeValueException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
AttributeValueException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
AttributeValueException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
AttributeValueException
Constructor with an attribute in which the problem occurred- Parameters:
attribute
- attribute in which the problem occurred
-
AttributeValueException
Constructor with an attribute in which the problem occurred and the throwable object- Parameters:
attribute
- attribute in which the problem occurredcause
- the cause
-
AttributeValueException
Constructor with an attribute in which the problem occurred and the message with details- Parameters:
attribute
- attribute in which the problem occurredmessage
- message with details
-
AttributeValueException
Constructor with an attribute in which the problem occurred, the throwable and the message with details- Parameters:
attribute
- attribute in which the problem occurredmessage
- message with detailscause
- the cause
-
-
Method Details
-
getAttribute
Getter for attribute- Returns:
- attribute in which the problem occurred
-