org.apache.james
Class AuthenticationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.apache.james.AuthenticationException
- All Implemented Interfaces:
- java.io.Serializable
- public class AuthenticationException
- extends java.lang.Exception
Thrown when a user fails to authenticate either because their identity is
not recognised or because their credentials are wrong.
- Version:
- 0.1 on 14 Dec 2000
- Author:
- Charles Benett
- See Also:
- Serialized Form
Constructor Summary |
AuthenticationException(java.lang.String message,
boolean unknownUser,
boolean credentialsFailed)
Construct a new AuthenticationException instance. |
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 |
AuthenticationException
public AuthenticationException(java.lang.String message,
boolean unknownUser,
boolean credentialsFailed)
- Construct a new
AuthenticationException
instance.
- Parameters:
message
- The detail message for this exception (mandatory).
isUserNotKnown
public boolean isUserNotKnown()
isBadCredentials
public boolean isBadCredentials()
"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."