Class AttributeAlreadyAssignedException

All Implemented Interfaces:
Serializable

public class AttributeAlreadyAssignedException extends EntityAlreadyAssignedException
This exception is thrown when you try to assign attribute as required by the service but the attribute has already been assigned.
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • AttributeAlreadyAssignedException

      public AttributeAlreadyAssignedException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • AttributeAlreadyAssignedException

      public AttributeAlreadyAssignedException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • AttributeAlreadyAssignedException

      public AttributeAlreadyAssignedException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • AttributeAlreadyAssignedException

      public AttributeAlreadyAssignedException(AttributeDefinition attribute)
      Constructor with an attribute
      Parameters:
      attribute - that has already been assigned
  • Method Details

    • getAttribute

      public AttributeDefinition getAttribute()
      Getter for the attribute that has already been assigned
      Returns:
      attribute that has already been assigned