com.arsdigita.kernel.security
Class KernelLoginException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjavax.security.auth.login.LoginException
                  extended bycom.arsdigita.kernel.security.KernelLoginException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccountException, CredentialException

public class KernelLoginException
extends javax.security.auth.login.LoginException

See Also:
Serialized Form

Constructor Summary
KernelLoginException()
           
KernelLoginException(String message)
           
KernelLoginException(String msg, Throwable rootCause)
           
KernelLoginException(Throwable rootCause)
           
 
Method Summary
 String getMessage()
          This exception's message and the root cause's.
 Throwable getRootCause()
          Gets the root cause of this exception.
 boolean hasRootCause()
          Indicates if this exception has a root cause.
 void printStackTrace()
          Stack trace for the root cause.
 void printStackTrace(PrintStream s)
          Stack trace for the root cause.
 void printStackTrace(PrintWriter s)
          Stack trace for the root cause.
 String toString()
          Get a string representing this exception and the root cause.
 String toString(Class delegatingClass)
          Get a string representing this exception and the root cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KernelLoginException

public KernelLoginException()

KernelLoginException

public KernelLoginException(String message)

KernelLoginException

public KernelLoginException(Throwable rootCause)

KernelLoginException

public KernelLoginException(String msg,
                            Throwable rootCause)
Method Detail

hasRootCause

public boolean hasRootCause()
Indicates if this exception has a root cause.


getRootCause

public Throwable getRootCause()
Gets the root cause of this exception.


toString

public String toString()
Get a string representing this exception and the root cause.


toString

public String toString(Class delegatingClass)
Get a string representing this exception and the root cause. Functions like normal toString, except that the name of the provided class will be used instead of the name of the unchecked wrapper exception. Useful when another exception class is using an unchecked wrapper exception to delegate to.


getMessage

public String getMessage()
This exception's message and the root cause's.


printStackTrace

public void printStackTrace()
Stack trace for the root cause.


printStackTrace

public void printStackTrace(PrintStream s)
Stack trace for the root cause.


printStackTrace

public void printStackTrace(PrintWriter s)
Stack trace for the root cause.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC