VLJ Iteration II, v. 1.0.0.193

gov.va.med.foundations.security.vistalink
Class VistaLoginModuleException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--javax.security.auth.login.LoginException
                          |
                          +--gov.va.med.foundations.security.vistalink.VistaLoginModuleException
All Implemented Interfaces:
FoundationsExceptionInterface, java.io.Serializable
Direct Known Subclasses:
VistaLoginModuleLoginsDisabledException, VistaLoginModuleNoJobSlotsAvailableException, VistaLoginModuleNoPathToListenerException, VistaLoginModuleTooManyInvalidAttemptsException, VistaLoginModuleUserCancelledException, VistaLoginModuleUserTimedOutException

public class VistaLoginModuleException
extends javax.security.auth.login.LoginException
implements FoundationsExceptionInterface

Represents a LoginException thrown by the LoginModule. The main difference from LoginException is support for including a nested exception. When attempting a logon, you can trap for the more specific VistaLoginModuleException, in addition to LoginException.

Version:
1.0.0.193
Author:
Application Modernization - Foundations Team
See Also:
Serialized Form

Method Summary
 java.lang.String getFullStackTrace()
          Returns the composite message and full embedded stack trace
 java.lang.String getMessage()
          Returns the detail message, including nested messages from the nested exceptions.
 java.lang.Throwable getNestedException()
          Gets the nested exception
 void printStackTrace()
          Prints the composite message and full embedded stack trace to System.err.
 void printStackTrace(java.io.PrintStream ps)
          Prints the composite message and full embedded stack trace to the specified stream ps.
 void printStackTrace(java.io.PrintWriter pw)
          Prints the composite message and full embedded stack trace to the specified print writer pw
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNestedException

public java.lang.Throwable getNestedException()
Gets the nested exception

Specified by:
getNestedException in interface FoundationsExceptionInterface
Returns:
nested exception
See Also:
FoundationsExceptionInterface.getNestedException()

getMessage

public java.lang.String getMessage()
Returns the detail message, including nested messages from the nested exceptions.

Overrides:
getMessage in class java.lang.Throwable
See Also:
Throwable.getMessage()

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Prints the composite message and full embedded stack trace to the specified stream ps.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
ps - the print stream
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Prints the composite message and full embedded stack trace to the specified print writer pw

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pw - the print writer
See Also:
Throwable.printStackTrace(java.io.PrintWriter)

printStackTrace

public void printStackTrace()
Prints the composite message and full embedded stack trace to System.err.

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace()

getFullStackTrace

public java.lang.String getFullStackTrace()
Returns the composite message and full embedded stack trace

Specified by:
getFullStackTrace in interface FoundationsExceptionInterface
Returns:
full stack trace String
See Also:
FoundationsExceptionInterface.getFullStackTrace()

VLJ Iteration II, v. 1.0.0.193

VistaLink Iteration II, v. 1.0.0.193