Package com.ctc.wstx.exc
Class WstxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.stream.XMLStreamException
-
- com.ctc.wstx.exc.WstxException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WstxIOException
,WstxOutputException
,WstxParsingException
public class WstxException extends XMLStreamException
Base class for all implementatations ofXMLStreamException
Wstx uses.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
mMsg
D'oh.-
Fields inherited from class javax.xml.stream.XMLStreamException
location, nested
-
-
Constructor Summary
Constructors Constructor Description WstxException(String msg)
WstxException(String msg, Location loc)
WstxException(String msg, Location loc, Throwable th)
WstxException(Throwable th)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getLocationDesc()
String
getMessage()
Method is overridden for two main reasons: first, default method does not display public/system id information, even if it exists, and second, default implementation can not handle nested Location information.String
toString()
-
Methods inherited from class javax.xml.stream.XMLStreamException
getLocation, getNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
mMsg
protected final String mMsg
D'oh. Super-class munges and hides the message, have to duplicate here
-
-
Method Detail
-
getMessage
public String getMessage()
Method is overridden for two main reasons: first, default method does not display public/system id information, even if it exists, and second, default implementation can not handle nested Location information.- Overrides:
getMessage
in classThrowable
-
getLocationDesc
protected String getLocationDesc()
-
-