Class GroupNotAdminException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.GroupNotAdminException
- All Implemented Interfaces:
Serializable
This exception is thrown when the group is not admin of: facility, another group, resource, security team, ...
- Author:
- Jiří Mauritz
- See Also:
-
Constructor Summary
ConstructorDescriptionGroupNotAdminException
(Group group) Constructor with the group which is not adminGroupNotAdminException
(String message) Simple constructor with a messageGroupNotAdminException
(String message, Throwable cause) Constructor with a message and Throwable objectGroupNotAdminException
(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
-
GroupNotAdminException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
GroupNotAdminException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
GroupNotAdminException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
GroupNotAdminException
Constructor with the group which is not admin- Parameters:
group
- the group which is not admin
-
-
Method Details
-
getGroup
Getter for the group- Returns:
- group which is not admin
-