Class NotGroupMemberException

All Implemented Interfaces:
Serializable

public class NotGroupMemberException extends PerunException
This exception is thrown when the member is not a member of the group or does not exist at all
Author:
Michal Prochazka
See Also:
Serialized Form
  • Constructor Details

    • NotGroupMemberException

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

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

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

      public NotGroupMemberException(Group group, Member member)
      Constructor with the group and the member
      Parameters:
      group - group that the member is not in
      member - member who is not in the group
  • Method Details

    • getMember

      public Member getMember()
      Getter for the member
      Returns:
      the member that isn't in the group
    • getGroup

      public Group getGroup()
      Getter for the group
      Returns:
      the group that the member is not in