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
ConstructorsConstructorDescriptionAttributeDefinitionExistsException(String message, AttributeDefinition attributeDefinition, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionGetter for the attribute that already existsMethods 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
-
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
-