iaik.xkms
Class XKMSException

Object
  extended by Throwable
      extended by Exception
          extended by XKMSException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadParameterException, InconsistentObjectException, InvalidRequestException

public class XKMSException
extends Exception

Base class for all exceptions in the XKMS framework.

To catch all XKMS related errors catching this exception is the best and easiest way to do so.

For finer grained error handling the different subclasses of this class provide more detailed information about what went wrong.

See Also:
Serialized Form

Constructor Summary
XKMSException()
           
XKMSException(String message)
           
XKMSException(String message, Throwable cause)
           
XKMSException(Throwable cause)
           
 
Method Summary
 Throwable getCause()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 
Methods inherited from class Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XKMSException

public XKMSException(Throwable cause)

XKMSException

public XKMSException(String message,
                     Throwable cause)

XKMSException

public XKMSException(String message)

XKMSException

public XKMSException()
Method Detail

printStackTrace

public void printStackTrace(PrintWriter s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable