org.w3c.domts

Class DOMTestIncompatibleException


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.

Constructor Summary

DOMTestIncompatibleException(Throwable ex, DocumentBuilderSetting setting)
Constructor from a ParserConfigurationException or reflection exception

Method Summary

static DOMTestIncompatibleException
incompatibleFeature(String feature, String version)
static DOMTestIncompatibleException
incompatibleLoad(String href, String contentType)
String
toString()

Constructor Details

DOMTestIncompatibleException

public DOMTestIncompatibleException(Throwable ex,
                                    DocumentBuilderSetting setting)
Constructor from a ParserConfigurationException or reflection exception

Method Details

incompatibleFeature

public static DOMTestIncompatibleException incompatibleFeature(String feature,
                                                               String version)

incompatibleLoad

public static DOMTestIncompatibleException incompatibleLoad(String href,
                                                            String contentType)

toString

public String toString()