Class PWResetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.sun.identity.password.ui.model.PWResetException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class PWResetException extends L10NMessageImpl
PWResetExceptionis thrown whenever the model implementor encounters an exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PWResetException(String msg)Creates a password reset Exception object.PWResetException(String bundleName, String errCode, Object[] args)Creates a password reset Exception object with localizable error message.PWResetException(Throwable t)Creates a password reset Exception object.PWResetException(List errors)Creates a password reset Exception object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetErrors()Returns error list.-
Methods inherited from class com.sun.identity.shared.locale.L10NMessageImpl
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PWResetException
public PWResetException(String msg)
Creates a password reset Exception object.- Parameters:
msg- exception message
-
PWResetException
public PWResetException(String bundleName, String errCode, Object[] args)
Creates a password reset Exception object with localizable error message.- Parameters:
bundleName-ResourceBundlename 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(List errors)
Creates a password reset Exception object.- Parameters:
errors- list of error messages
-
PWResetException
public PWResetException(Throwable t)
Creates a password reset Exception object.- Parameters:
t-Throwableinstance
-
-
Method Detail
-
getErrors
public List getErrors()
Returns error list.- Returns:
- error list
-
-