static void checkJAXPAvailability() {
        try {
            XmlConfigurator.class.getName();
        }
        catch (NoClassDefFoundError error) {
            Error tmp=new NoClassDefFoundError(JAXP_MISSING_ERROR_MSG);
            tmp.initCause(error);
            throw tmp;
        }
    }
static void checkJAXPAvailability ( ) { try { XmlConfigurator . class . getName ( ) ; } catch ( NoClassDefFoundError error ) { Error tmp = new NoClassDefFoundError ( JAXP_MISSING_ERROR_MSG ) ; tmp . initCause ( error ) ; throw tmp ; } }
Checks the availability of the JAXP classes on the classpath.
@throws NoClassDefFoundError if the required JAXP classes are not availabile on the classpath.