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

public class AttributeAlreadyMarkedUniqueException extends PerunException
Attribute is already marked as unique.
Author:
Martin Kuba
See Also:
  • Constructor Details

    • AttributeAlreadyMarkedUniqueException

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

    • getAttribute

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