Class GroupAlreadyAssignedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.GroupAlreadyAssignedException
All Implemented Interfaces:
Serializable

public class GroupAlreadyAssignedException extends PerunException
This exception is thrown when the group has already been assigned to the specific resource
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • GroupAlreadyAssignedException

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

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

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

      public GroupAlreadyAssignedException(Group group)
      Constructor with the group
      Parameters:
      group - that has already been assigned
  • Method Details

    • getGroup

      public Group getGroup()
      Getter for the group
      Returns:
      group that has already been assigned