com.primix.vlib.ejb
Class LoginException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.primix.vlib.ejb.LoginException
All Implemented Interfaces:
java.io.Serializable

public class LoginException
extends java.lang.Exception

Exception thrown on a login failure.

Version:
$Id: LoginException.java,v 1.1 2001/06/22 20:40:09 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
LoginException(java.lang.String message, boolean passwordError)
           
 
Method Summary
 boolean isPasswordError()
          Returns true if the error is related to the password.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginException

public LoginException(java.lang.String message,
                      boolean passwordError)
Method Detail

isPasswordError

public boolean isPasswordError()
Returns true if the error is related to the password. Otherwise, the error is related to the email address (either not found, or the user has been invalidated or otherwise locked out).