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