org.xbis
Class XBISException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xbis.XBISException
All Implemented Interfaces:
java.io.Serializable

public class XBISException
extends java.lang.Exception

XML Binary Information Set data handling exception.

Version:
1.0
Author:
Dennis M. Sosnoski
See Also:
Serialized Form

Constructor Summary
XBISException(java.lang.String msg)
          Constructor from other exception.
XBISException(java.lang.String msg, java.lang.Throwable root)
          Constructor from message and wrapped exception.
 
Method Summary
 java.lang.Throwable getRootCause()
          Get root cause exception.
 void printStackTrace()
          Print stack trace to standard error.
 void printStackTrace(java.io.PrintStream s)
          Print stack trace to stream.
 void printStackTrace(java.io.PrintWriter s)
          Print stack trace to writer.
 java.lang.String toString()
          Build string representation.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XBISException

public XBISException(java.lang.String msg)
Constructor from other exception.

Parameters:
msg - error message text

XBISException

public XBISException(java.lang.String msg,
                     java.lang.Throwable root)
Constructor from message and wrapped exception.

Parameters:
msg - message describing the exception condition
root - exception which caused this exception
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Get root cause exception.

Returns:
exception that caused this exception

toString

public java.lang.String toString()
Build string representation. If there's no wrapped exception this just returns the usual text, otherwise it appends the wrapped exception information to the text generated from this one.

Returns:
string representation

printStackTrace

public void printStackTrace()
Print stack trace to standard error. This is an override of the base class method to implement exception chaining.


printStackTrace

public void printStackTrace(java.io.PrintStream s)
Print stack trace to stream. This is an override of the base class method to implement exception chaining.

Parameters:
s - stream for printing stack trace

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Print stack trace to writer. This is an override of the base class method to implement exception chaining.

Parameters:
s - writer for printing stack trace


Company Web Site

XML Binary Information Set Home