org.openmrs.api
Class PasswordException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openmrs.api.APIException
                  extended by 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

Constructor Summary
PasswordException()
           
PasswordException(java.lang.String message)
           
PasswordException(java.lang.String message, java.lang.Throwable cause)
           
PasswordException(java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

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)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change