com.sun.identity.password.ui.model
Class PWResetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.identity.common.L10NMessageImpl
              extended bycom.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, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 message
errCode - key to resource bundle
args - 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
Method Detail

getErrors

public java.util.List getErrors()
Gets error list.

Returns:
error list


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.