Code example for SAXNotSupportedException

0
            ((KXmlParser)pp).setMmsFlag(true);
            return; 
        }else if( null != name && name.equals("disableMmsFlag") ){
            ((KXmlParser)pp).setMmsFlag(false);
            return; 
        } 
	/* FihtdcCode@20100422 JerryCheng for F0XE.B-599 end */ 
     
        // 
        if(DECLARATION_HANDLER_PROPERTY.equals(name)) {
            throw new SAXNotSupportedException("not supported setting property "+name);//+" to "+value);
        } else if(LEXICAL_HANDLER_PROPERTY.equals(name)) {
            throw new SAXNotSupportedException("not supported setting property "+name);//+" to "+value);
        } else { 
            try { 
                pp.setProperty(name, value);
            } catch(XmlPullParserException ex) {
                throw new SAXNotSupportedException("not supported set property "+name+": "+ ex);
            } 
            //throw new SAXNotRecognizedException("not recognized set property "+name); 
        }