Class AttributeAlreadyMarkedUniqueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.AttributeAlreadyMarkedUniqueException
- All Implemented Interfaces:
Serializable
Attribute is already marked as unique.
- Author:
- Martin Kuba
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeAlreadyMarkedUniqueException(String message, AttributeDefinition attributeDefinition) -
Method Summary
Modifier and TypeMethodDescriptionGetter for the attribute that has already been marked as uniqueMethods 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
-
AttributeAlreadyMarkedUniqueException
public AttributeAlreadyMarkedUniqueException(String message, AttributeDefinition attributeDefinition) - Parameters:
message- message with details about the causeattributeDefinition- attributeDefinition that has already been marked as unique
-
-
Method Details
-
getAttribute
Getter for the attribute that has already been marked as unique- Returns:
- attributeDefinition that has already been marked as unique
-