Package vaultWeb.exceptions
Class AlreadyMemberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vaultWeb.exceptions.AlreadyMemberException
- All Implemented Interfaces:
Serializable
Thrown when a user tries to join a group they are already a member of.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlreadyMemberException(Long groupId, Long userId) Constructs a new AlreadyMemberException for a specific user and group. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyMemberException
Constructs a new AlreadyMemberException for a specific user and group.- Parameters:
groupId- the ID of the group the user tried to joinuserId- the ID of the user who is already a member
-