Class GroupNotExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotExistsException
cz.metacentrum.perun.core.api.exceptions.GroupNotExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when trying to get a group which does not exist in the database
- Author:
- Martin Kuba
- See Also:
-
Constructor Summary
ConstructorDescriptionGroupNotExistsException
(Group group) Constructor with the group that does not existGroupNotExistsException
(String message) Simple constructor with a messageGroupNotExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectGroupNotExistsException
(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
-
GroupNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
GroupNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
GroupNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
GroupNotExistsException
Constructor with the group that does not exist- Parameters:
group
- the group
-
-
Method Details
-
getGroup
Getter for the group that does not exist- Returns:
- the group that does not exist
-