org.wamblee.usermgt
Class UserMgtException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wamblee.usermgt.UserMgtException
- All Implemented Interfaces:
- java.io.Serializable
public class UserMgtException
- extends java.lang.Exception
User management exception.
- Author:
- Erik Brakkee
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserMgtException
public UserMgtException(UserMgtException.Reason aCause,
java.lang.String aMessage)
UserMgtException
public UserMgtException(UserMgtException.Reason aCause,
User aUser)
UserMgtException
public UserMgtException(UserMgtException.Reason aCause,
Group aGroup)
UserMgtException
public UserMgtException(UserMgtException.Reason aCause,
User aUser,
Group aGroup)
getReason
public UserMgtException.Reason getReason()
- Gets the cause of the problem.
- Returns:
- Cause.
getUser
public User getUser()
- Gets the user for which the problem occurred.
- Returns:
- User or null if not applicable.
getGroup
public Group getGroup()
- Gets the group for which the problem occured.
- Returns:
- Group or null if not applicable.
Copyright © 2010. All Rights Reserved.