org.gjt.xpp.x2impl.x2pullparser
Class X2PullParserRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gjt.xpp.x2impl.x2pullparser.X2PullParserRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class X2PullParserRuntimeException
extends java.lang.RuntimeException

Extended runtime excpetion to allow chaining.

Author:
Aleksander Slominski
See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable detail
           
 
Constructor Summary
X2PullParserRuntimeException(java.lang.String s)
           
X2PullParserRuntimeException(java.lang.String s, java.lang.Throwable thrwble)
           
X2PullParserRuntimeException(java.lang.Throwable thrwble)
           
 
Method Summary
 java.lang.Throwable getDetail()
           
 java.lang.String getMessage()
           
 void printStackTrace()
           
 void setDetail(java.lang.Throwable cause)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

detail

protected java.lang.Throwable detail
Constructor Detail

X2PullParserRuntimeException

public X2PullParserRuntimeException(java.lang.String s)

X2PullParserRuntimeException

public X2PullParserRuntimeException(java.lang.String s,
                                    java.lang.Throwable thrwble)

X2PullParserRuntimeException

public X2PullParserRuntimeException(java.lang.Throwable thrwble)
Method Detail

getDetail

public java.lang.Throwable getDetail()

setDetail

public void setDetail(java.lang.Throwable cause)

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable


Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.

Note this package is deprecated by XPP3 that implements XmlPull API