com.thoughtworks.xstream.core
Class BaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.thoughtworks.xstream.core.BaseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CannotResolveClassException, ConversionException, ObjectAccessException, StreamException, TreeMarshaller.CircularReferenceException, XStream.InitializationException

public abstract class BaseException
extends RuntimeException

JDK1.3 friendly exception that retains cause.

See Also:
Serialized Form

Constructor Summary
protected BaseException()
           
protected BaseException(String message)
           
protected BaseException(String message, Throwable cause)
           
protected BaseException(Throwable cause)
           
 
Method Summary
 Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseException

protected BaseException(String message,
                        Throwable cause)

BaseException

protected BaseException(Throwable cause)

BaseException

protected BaseException(String message)

BaseException

protected BaseException()
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable


Copyright © 2004-2007 XStream. All Rights Reserved.