Class GroupMoveNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.GroupMoveNotAllowedException
- All Implemented Interfaces:
Serializable
Exception thrown when the group cannot be moved, because it's not allowed f.e. Destination group is subGroup of
Moving group, Moving group is already in destination group as subGroup...
- Author:
- Peter Balcirak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor with no argumentsGroupMoveNotAllowedException(String message) Simple constructor with a messageGroupMoveNotAllowedException(String message, Group movingGroup, Group destinationGroup) Constructor with a message, group to be moved, destination group (the group to which the moving group is moved)GroupMoveNotAllowedException(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionThe group to which the moving group is movedGetter for the moving groupMethods inherited from class PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GroupMoveNotAllowedException
public GroupMoveNotAllowedException()Constructor with no arguments -
GroupMoveNotAllowedException
Simple constructor with a message- Parameters:
message- message with details about the cause
-
GroupMoveNotAllowedException
-
GroupMoveNotAllowedException
Constructor with a Throwable object- Parameters:
cause- Throwable that caused throwing of this exception
-
GroupMoveNotAllowedException
Constructor with a message, group to be moved, destination group (the group to which the moving group is moved)- Parameters:
message- message with the detailsmovingGroup- group to be moveddestinationGroup- the group to which the moving group is moved
-
-
Method Details
-
getDestinationGroup
The group to which the moving group is moved- Returns:
- destination group
-
getMovingGroup
-