VistALink v1.6

gov.va.med.vistalink.security
Class VistaLoginModuleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by javax.security.auth.login.LoginException
                  extended by gov.va.med.vistalink.security.VistaLoginModuleException
All Implemented Interfaces:
FoundationsExceptionInterface, java.io.Serializable
Direct Known Subclasses:
VistaLoginModuleIPLockedException, 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 in the constructor for including a nested exception. When attempting a logon, you can trap for the more specific VistaLoginModuleException, in addition to LoginException.

See Also:
Serialized Form

Method Summary
 java.lang.String getFullStackTrace()
          Deprecated. Use Throwable.getStackTrace() instead.
 java.lang.String getMessage()
          Returns the detail message, including nested messages from the nested exceptions.
 java.lang.Throwable getNestedException()
          Deprecated. Use getCause() instead.
 void printStackTrace()
          Deprecated. unused method, not part of JAAS spec, left to help preserve compatibility with previous versions
 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)
          Deprecated. unused method, not part of JAAS spec, left to help preserve compatibility with previous versions
 
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()
Deprecated. Use getCause() instead.

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)
Deprecated. unused method, not part of JAAS spec, left to help preserve compatibility with previous versions

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)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

printStackTrace

public void printStackTrace()
Deprecated. unused method, not part of JAAS spec, left to help preserve compatibility with previous versions

Prints the composite message and full embedded stack trace to System.err.

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace()
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

getFullStackTrace

public java.lang.String getFullStackTrace()
Deprecated. Use Throwable.getStackTrace() instead.

Returns the composite message and full embedded stack trace

Specified by:
getFullStackTrace in interface FoundationsExceptionInterface
Returns:
full stack trace String
See Also:
FoundationsExceptionInterface.getFullStackTrace()
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistALink v1.6

VistALink v1.6