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

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

public class PWResetException

PWResetException is thrown whenever the model implementor encounters an exception.


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.
 

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