Code example for SAXParseException

0
    } 
    static List exception(Exception e) {
        if (LOGGER.isLoggable(Level.FINE)) {
            LOGGER.log(Level.FINE, "Validation error", e);
        } 
        return Arrays.asList(new SAXParseException(e.getLocalizedMessage(), null));
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java