Class GroupNotAdminException

All Implemented Interfaces:
Serializable

public class GroupNotAdminException extends PerunException
This exception is thrown when the group is not admin of: facility, another group, resource, security team, ...
Author:
Jiří Mauritz
See Also:
  • Constructor Details

    • GroupNotAdminException

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

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

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

      public GroupNotAdminException(Group group)
      Constructor with the group which is not admin
      Parameters:
      group - the group which is not admin
  • Method Details

    • getGroup

      public Group getGroup()
      Getter for the group
      Returns:
      group which is not admin