APISonar


org.netbeans.modules.form.FormUtils.LOGGER.log

> org > netbeans > modules > form > FormUtils > LOGGER > log
org APIs netbeans APIs modules APIs form APIs FormUtils APIs LOGGER APIs log APIs

Example 1
public Object getLayoutProperty(String propertyName) {
        Node.Property property = layoutManager.getLayoutProperty(propertyName);
        Object layoutProp = null;
        try {
            layoutProp = property.getValue();
        } catch (IllegalAccessException iaex) {
            FormUtils.LOGGER.log(Level.WARNING, iaex.getMessage(), iaex);
        } catch (InvocationTargetException itex) {
            FormUtils.LOGGER.log(Level.WARNING, itex.getMessage(), itex);
        }
        return layoutProp;
    }
Example 2
private int getIntFieldValue(Field intField, Object object) {
        int value = -1;
        try {
            value = intField.getInt(object);
        } catch (IllegalAccessException iaex) {
            FormUtils.LOGGER.log(Level.INFO, iaex.getMessage(), iaex);
        }
        return value;
    }