public class UserMgtException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
UserMgtException.Reason
Possible causes for the exception.
|
Constructor and Description |
---|
UserMgtException(UserMgtException.Reason aCause,
Group aGroup)
Creates a new UserMgtException object.
|
UserMgtException(UserMgtException.Reason aCause,
String aMessage)
Creates a new UserMgtException object.
|
UserMgtException(UserMgtException.Reason aCause,
User aUser)
Creates a new UserMgtException object.
|
UserMgtException(UserMgtException.Reason aCause,
User aUser,
Group aGroup)
Creates a new UserMgtException object.
|
Modifier and Type | Method and Description |
---|---|
Group |
getGroup()
Gets the group for which the problem occured.
|
UserMgtException.Reason |
getReason()
Gets the cause of the problem.
|
User |
getUser()
Gets the user for which the problem occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UserMgtException(UserMgtException.Reason aCause, String aMessage)
public UserMgtException(UserMgtException.Reason aCause, User aUser)
public UserMgtException(UserMgtException.Reason aCause, Group aGroup)
public UserMgtException(UserMgtException.Reason aCause, User aUser, Group aGroup)
public UserMgtException.Reason getReason()
public User getUser()
public Group getGroup()
Copyright © 2022. All rights reserved.