Package com.thoughtworks.xstream
Class XStreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.thoughtworks.xstream.core.BaseException
-
- com.thoughtworks.xstream.XStreamException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbstractSecurityException,CannotResolveClassException,ErrorWritingException,StreamException,XStream.InitializationException
public class XStreamException extends BaseException
Base exception for all thrown exceptions with XStream.- Since:
- 1.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXStreamException()Default constructor.XStreamException(java.lang.String message)Constructs an XStreamException with a message.XStreamException(java.lang.String message, java.lang.Throwable cause)Constructs an XStreamException with a message as wrapper for a different causingThrowable.XStreamException(java.lang.Throwable cause)Constructs an XStreamException as wrapper for a different causingThrowable.
-
-
-
Constructor Detail
-
XStreamException
protected XStreamException()
Default constructor.- Since:
- 1.3
-
XStreamException
public XStreamException(java.lang.String message)
Constructs an XStreamException with a message.- Parameters:
message-- Since:
- 1.3
-
XStreamException
public XStreamException(java.lang.Throwable cause)
Constructs an XStreamException as wrapper for a different causingThrowable.- Parameters:
cause-- Since:
- 1.3
-
XStreamException
public XStreamException(java.lang.String message, java.lang.Throwable cause)Constructs an XStreamException with a message as wrapper for a different causingThrowable.- Parameters:
message-cause-- Since:
- 1.3
-
-