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 of XMLStreamException
Wstx uses.
- See Also:
- Serialized Form
Method Summary |
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()
|
mMsg
protected final String mMsg
- D'oh. Super-class munges and hides the message, have to duplicate here
WstxException
public WstxException(String msg)
WstxException
public WstxException(Throwable th)
WstxException
public WstxException(String msg,
Location loc)
WstxException
public WstxException(String msg,
Location loc,
Throwable th)
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 class Throwable
toString
public String toString()
- Overrides:
toString
in class Throwable
getLocationDesc
protected String getLocationDesc()
Copyright © 2011 Codehaus. All Rights Reserved.