+ classRequested.getName() + "' value='" + data + "'", null);
+ classRequested.getName() + "' value=null", null);
    public static Object convert(Object data, Class classRequested)            throws FacesException {        if (classRequested == null) {            return data;        }        if (data == null) {            if (classRequested.isPrimitive() == false) {                return null;            }            ClassConvertor cv = (ClassConvertor) classConvertors                    .get(classRequested);            if (cv != null) {                return cv.getNullValue();            }            throw new FacesException("Can not convert primitive class '"                    + classRequested.getName() + "' value='" + data + "'", null);        }        Class cl = data.getClass();        if (cl == classRequested || classRequested.isAssignableFrom(cl)) {            return data;        }        if (cl.equals(String.class)) {            Callback Callback = (Callback) callbacksFromString                    .get(classRequested);            if (Callback != null) {                return Callback.convert(data);            }        }        ClassConvertor cv = (ClassConvertor) classConvertors                .get(classRequested);        if (cv != null) {            Object ret = cv.convert(cl, data);            if (ret != null) {                return ret;            }        }        throw new FacesException("Can not convert class '" + cl.getName()                + "' to class '" + classRequested.getName() + "' value='"                + data + "'", null);    }