com.ibm.commerce.rules.project
Class UserNotFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.commerce.rules.project.EventRuleHelperUtilException
|
+--com.ibm.commerce.rules.project.UserNotFoundException
- All Implemented Interfaces:
- java.io.Serializable
- public class UserNotFoundException
- extends EventRuleHelperUtilException
This exception is thrown to indicate that a user could not be found.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
UserNotFoundException
public UserNotFoundException(java.lang.Number userId)
- Parameters:
userId
- The user ID of the user not found.
UserNotFoundException
public UserNotFoundException(java.lang.Number userId,
java.lang.Throwable originator)
- Parameters:
userId
- The user ID of the user not found.originator
- The throwable at the source of the problem.
UserNotFoundException
public UserNotFoundException(java.lang.String logonId)
- Use this constructor to indicate that a search by logon ID failed.
- Parameters:
logonId
- The logon ID of the user not found.
UserNotFoundException
public UserNotFoundException(java.lang.String logonId,
java.lang.Throwable originator)
- Use this constructor to indicate that a search by logon ID failed.
- Parameters:
logonId
- The logon ID of the user not found.originator
- The throwable at the source of the problem.
getLogonId
public java.lang.String getLogonId()
- Returns:
- If this exception was thrown while searching for a user
by logon ID, this is the logon ID for which no user could be found.
getUserId
public java.lang.Number getUserId()
- Returns:
- If this exception was thrown while searching for a user
by user ID, this is the ID for which no user could be found.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable