SPT Core API

com.sptci.auth
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sptci.auth.AuthenticationException
All Implemented Interfaces:
Serializable

public class AuthenticationException
extends Exception

A custom exception used to indicate authentication failure. View the Throwable.getCause() exception to get a better understanding of the real cause of the error.

Copyright 2006, Sans Pareil Technologies, Inc.

Version:
$Id: AuthenticationException.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2006-11-15
See Also:
Serialized Form

Constructor Summary
AuthenticationException()
          Default constructor.
AuthenticationException(String message)
          Create a new exception with the specified message.
AuthenticationException(String message, Throwable throwable)
          Create a new exception with the specified message and instance of Throwable that caused the problem.
AuthenticationException(Throwable throwable)
          Create a new exception with instance of Throwable that caused the problem.
 
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

AuthenticationException

public AuthenticationException()
Default constructor. Create a new exception with a null message.


AuthenticationException

public AuthenticationException(String message)
Create a new exception with the specified message.

Parameters:
message - The message that describes the problem.

AuthenticationException

public AuthenticationException(Throwable throwable)
Create a new exception with instance of Throwable that caused the problem.

Parameters:
throwable - The exception that caused this instance of the exception to be thrown.

AuthenticationException

public AuthenticationException(String message,
                               Throwable throwable)
Create a new exception with the specified message and instance of Throwable that caused the problem.

Parameters:
message - The message that describes the problem.
throwable - The exception that caused this instance of the exception to be thrown.

SPT Core API