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

public class AttributeNotMarkedUniqueException extends PerunException
Attribute is not marked as unique.
Author:
Metodej Klang
See Also:
  • Constructor Details

    • AttributeNotMarkedUniqueException

      public AttributeNotMarkedUniqueException(String message, AttributeDefinition attributeDefinition)
      Parameters:
      message - message with details about the cause
      attributeDefinition - attributeDefinition that has not been marked as unique
  • Method Details

    • getAttribute

      public AttributeDefinition getAttribute()
      Getter for the attribute that has not been marked as unique
      Returns:
      attributeDefinition that has not been marked as unique