public class DOMTestIncompatibleException extends Exception
Constructor and Description |
---|
DOMTestIncompatibleException(Throwable ex,
DocumentBuilderSetting setting)
Constructor from a ParserConfigurationException
or reflection exception
|
Modifier and Type | Method and Description |
---|---|
static DOMTestIncompatibleException |
incompatibleFeature(String feature,
String version) |
static DOMTestIncompatibleException |
incompatibleLoad(String href,
String contentType) |
String |
toString()
Returns a short description of this throwable.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public DOMTestIncompatibleException(Throwable ex, DocumentBuilderSetting setting)
public static DOMTestIncompatibleException incompatibleFeature(String feature, String version)
public static DOMTestIncompatibleException incompatibleLoad(String href, String contentType)
public String toString()
Throwable
Throwable.getLocalizedMessage()
method
getLocalizedMessage
returns null
, then just
the class name is returned.