org.openmrs.api
Class PasswordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openmrs.api.APIException
org.openmrs.api.PasswordException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidCharactersPasswordException, ShortPasswordException, WeakPasswordException
public class PasswordException
- extends APIException
Represents common exceptions that happen when validating a User
's password.
Preferred use of this class and its subclass are the PasswordException()
or the
PasswordException(String)
. The empty constructor will create an exception object using
without an exception message.
For details on what is checked, see OpenmrsUtil.validatePassword(String, String, String)
.
- Since:
- 1.5
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PasswordException
public PasswordException()
PasswordException
public PasswordException(java.lang.String message,
java.lang.Throwable cause)
PasswordException
public PasswordException(java.lang.String message)
PasswordException
public PasswordException(java.lang.Throwable cause)
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change