Class AttributeDefinitionExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityExistsException
cz.metacentrum.perun.core.api.exceptions.AttributeDefinitionExistsException
- All Implemented Interfaces:
Serializable
Attribute already exists in underlying data source. Thrown when creating attribute that already exists.
- See Also:
-
Constructor Summary
ConstructorDescriptionAttributeDefinitionExistsException
(String message, AttributeDefinition attributeDefinition, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionGetter for the attribute that already existsMethods 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
-
AttributeDefinitionExistsException
public AttributeDefinitionExistsException(String message, AttributeDefinition attributeDefinition, Throwable cause) - Parameters:
message
- message with details about the causeattributeDefinition
- attribute that already existscause
- Throwable that caused throwing of this exception
-
-
Method Details
-
getAttributeDefinition
Getter for the attribute that already exists- Returns:
- attribute that already exists
-