if (serializerClasses.size() == 0) throw new XmlPullParserException
if (serializerClasses == null) throw new XmlPullParserException ("Factory initialization incomplete - has not tried "+classNamesLocation); if(serializerClasses.size() == 0) throw new XmlPullParserException
    public XmlSerializer newSerializer() throws XmlPullParserException {        if (serializerClasses.size() == 0) throw new XmlPullParserException                ("No valid serializer classes found in "+classNamesLocation);        StringBuffer issues = new StringBuffer ();        for (int i = 0; i < serializerClasses.size (); i++) {            Class ppClass = (Class) serializerClasses.elementAt (i);            try {                XmlSerializer ser = (XmlSerializer) ppClass.newInstance();//                for (Enumeration e = features.keys (); e.hasMoreElements ();) {//                    String key = (String) e.nextElement();//                    Boolean value = (Boolean) features.get(key);//                    if(value != null && value.booleanValue()) {//                        ser.setFeature(key, true);//                    }//                }                return ser;            } catch(Exception ex) {                issues.append (ppClass.getName () + ": "+ ex.toString ()+"; ");            }        }        throw new XmlPullParserException ("could not create serializer: "+issues);    }