Class AttributeNotExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotExistsException
cz.metacentrum.perun.core.api.exceptions.AttributeNotExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when the attribute definition does not exist in the database. However, if the attribute
definition exists but the attribute values is not set for the given entity, this exception does not raise and the
situation is usually resolved by returning Attribute object with null value instead.
- Author:
- Slavek Licehammer glory@ics.muni.cz
- See Also:
-
Constructor Summary
ConstructorDescriptionAttributeNotExistsException
(String message) Simple constructor with a messageAttributeNotExistsException
(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
-
AttributeNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
AttributeNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
AttributeNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-