public class DOMTestIncompatibleException extends Exception
This exception represents a mismatch between the
requirements of the test (for example, entity preserving)
and the capabilities of the parser under test.
StringBuffer buf = new StringBuffer(
"Implementation does not support feature \"");
buf.append(feature);
buf.append("\" version=\"");
buf.append(version);
buf.append("\".");
return new DOMTestIncompatibleException(buf.toString());
StringBuffer buf = new StringBuffer(
"Document is incompatible with content type, \"");
buf.append(href);
buf.append("\" not available for =\"");
buf.append(contentType);
buf.append("\".");
return new DOMTestIncompatibleException(buf.toString());