Class ResourceTagAlreadyAssignedException

All Implemented Interfaces:
Serializable

public class ResourceTagAlreadyAssignedException extends EntityAlreadyAssignedException
This exception is thrown when the resourceTag has already been assigned to the resource
Author:
Stava Michal <stavamichal@gmail.com>
See Also:
  • Constructor Details

    • ResourceTagAlreadyAssignedException

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

      public ResourceTagAlreadyAssignedException(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
    • ResourceTagAlreadyAssignedException

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

      public ResourceTagAlreadyAssignedException(ResourceTag resourceTag)
      Constructor with the resourceTag
      Parameters:
      resourceTag - that has already been assigned to the resource
    • ResourceTagAlreadyAssignedException

      public ResourceTagAlreadyAssignedException(String message, ResourceTag resourceTag)
      Constructor with a message and the resourceTag
      Parameters:
      message - message with details about the cause
      resourceTag - that has already been assigned to the resource
  • Method Details

    • getResourceTag

      public ResourceTag getResourceTag()
      Getter for the resourceTag
      Returns:
      resourceTag that has already been assigned to the resource