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:
Serializable
- Direct Known Subclasses:
AbstractSecurityException
,CannotResolveClassException
,ErrorWritingException
,StreamException
,XStream.InitializationException
Base exception for all thrown exceptions with XStream.
- Since:
- 1.3
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default constructor.XStreamException
(String message) Constructs an XStreamException with a message.XStreamException
(String message, Throwable cause) Constructs an XStreamException with a message as wrapper for a different causingThrowable
.XStreamException
(Throwable cause) Constructs an XStreamException as wrapper for a different causingThrowable
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XStreamException
protected XStreamException()Default constructor.- Since:
- 1.3
-
XStreamException
Constructs an XStreamException with a message.- Parameters:
message
-- Since:
- 1.3
-
XStreamException
Constructs an XStreamException as wrapper for a different causingThrowable
.- Parameters:
cause
-- Since:
- 1.3
-
XStreamException
Constructs an XStreamException with a message as wrapper for a different causingThrowable
.- Parameters:
message
-cause
-- Since:
- 1.3
-