Top Description Constructors
com.thoughtworks.xstream

public Class XStreamException

extends BaseException
Class Inheritance
Known Direct Subclasses
com.thoughtworks.xstream.converters.ErrorWritingException, com.thoughtworks.xstream.io.StreamException, com.thoughtworks.xstream.mapper.CannotResolveClassException, com.thoughtworks.xstream.security.AbstractSecurityException, com.thoughtworks.xstream.XStream.InitializationException
Imports
com.thoughtworks.xstream.core.BaseException

Deprecated

as a consequence of BaseException being deprecated. See corresponding docs for further information.

Base exception for all thrown exceptions with XStream.
Authors
Joe Walnes, Jörg Schaible
Since
1.3

Constructor Summary

AccessConstructor and Description
protected
XStreamException()

Default constructor.

public
XStreamException(String message)

Constructs an XStreamException with a message.

public
XStreamException(Throwable cause)

Constructs an XStreamException as wrapper for a different causing Throwable.

public
XStreamException(String message, Throwable cause)

Constructs an XStreamException with a message as wrapper for a different causing Throwable.

Constructor Detail

XStreamExceptionback to summary
protected XStreamException()

Default constructor.

Since
1.3
XStreamExceptionback to summary
public XStreamException(String message)

Constructs an XStreamException with a message.

Since
1.3
XStreamExceptionback to summary
public XStreamException(Throwable cause)

Constructs an XStreamException as wrapper for a different causing Throwable.

Since
1.3
XStreamExceptionback to summary
public XStreamException(String message, Throwable cause)

Constructs an XStreamException with a message as wrapper for a different causing Throwable.

Since
1.3