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 SummaryConstructorsConstructorDescriptionNotGroupMemberException(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 SummaryMethods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunExceptiongetErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NotGroupMemberExceptionSimple constructor with a message- Parameters:
- message- message with details about the cause
 
- 
NotGroupMemberExceptionConstructor with a message and Throwable object- Parameters:
- message- message with details about the cause
- cause- Throwable that caused throwing of this exception
 
- 
NotGroupMemberExceptionConstructor with a Throwable object- Parameters:
- cause- Throwable that caused throwing of this exception
 
- 
NotGroupMemberExceptionConstructor 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- 
getGroupGetter for the group- Returns:
- the group that the member is not in
 
- 
getMemberGetter for the member- Returns:
- the member that isn't in the group
 
 
-