com.sun.identity.password.ui.model
Class PWResetException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sun.identity.common.L10NMessageImpl
|
+--com.sun.identity.password.ui.model.PWResetException
- All Implemented Interfaces:
- com.sun.identity.common.L10NMessage, java.io.Serializable
- public class PWResetException
- extends com.sun.identity.common.L10NMessageImpl
PWResetException
is thrown whenever the model implementor
encounters an exception.
- See Also:
- Serialized Form
Constructor Summary |
PWResetException(java.util.List errors)
Creates a password reset Exception object. |
PWResetException(java.lang.String msg)
Creates a password reset Exception object. |
PWResetException(java.lang.String bundleName,
java.lang.String errCode,
java.lang.Object[] args)
Creates a password reset Exception object with
localizable error message. |
PWResetException(java.lang.Throwable t)
Creates a password reset Exception object. |
Method Summary |
java.util.List |
getErrors()
Gets error list. |
Methods inherited from class com.sun.identity.common.L10NMessageImpl |
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PWResetException
public PWResetException(java.lang.String msg)
- Creates a password reset Exception object.
- Parameters:
msg
- exception message
PWResetException
public PWResetException(java.lang.String bundleName,
java.lang.String errCode,
java.lang.Object[] args)
- Creates a password reset Exception object with
localizable error message.
- Parameters:
bundleName
- ResourceBundle
name to be used
for getting localized error messageerrCode
- key to resource bundleargs
- arguments to message. If it is not present pass as null
PWResetException
public PWResetException(java.util.List errors)
- Creates a password reset Exception object.
- Parameters:
errors
- list of error messages
PWResetException
public PWResetException(java.lang.Throwable t)
- Creates a password reset Exception object.
- Parameters:
t
- Throwable
instance
getErrors
public java.util.List getErrors()
- Gets error list.
- Returns:
- error list
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.