Class NotGroupMemberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.NotGroupMemberException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionNotGroupMemberException
(Group group, Member member) Constructor with the group and the memberNotGroupMemberException
(String message) Simple constructor with a messageNotGroupMemberException
(String message, Throwable cause) Constructor with a message and Throwable objectNotGroupMemberException
(Throwable cause) Constructor with a Throwable object -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotGroupMemberException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
NotGroupMemberException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
NotGroupMemberException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
NotGroupMemberException
Constructor with the group and the member- Parameters:
group
- group that the member is not inmember
- member who is not in the group
-
-
Method Details
-
getGroup
Getter for the group- Returns:
- the group that the member is not in
-
getMember
Getter for the member- Returns:
- the member that isn't in the group
-