Code example for SAXNotRecognizedException

0
        if (name == null) {
            throw new NullPointerException();
        } 
 
        if (!name.startsWith("http://xml.org/sax/features/")) {
            throw new SAXNotRecognizedException(name);
        } 
 
        return Boolean.TRUE.equals(features.get(name));
    } 
 
    @Override 
    public boolean isNamespaceAware() { 
        try { 
            return getFeature(NAMESPACES);
        } catch (SAXNotRecognizedException ex) {
            throw new AssertionError(ex);
        } 
    } 
 
Contextual code suggestions in your IDE  Get Codota for Java