try { String temp = getFirstAttrbuteByTagName(new String[] {"options", "versionsinfo"}); int versioninfoModus = Integer.parseInt(temp); return versioninfoModus; } catch (Exception e) { AppleJuiceDialog.rewriteProperties = true; if (logger.isEnabledFor(Level.ERROR)) { logger.error(PROPERTIES_ERROR_MESSAGE, e); } AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false); return 1; } }
Integer tmp = propertyHandler.getAsInt("options_versionsinfo"); if (tmp != null) { return tmp.intValue(); } else { AppleJuiceDialog.rewriteProperties = true; AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false); return 1; } }
    public int getVersionsinfoModus() {        try {            String temp = getFirstAttrbuteByTagName(new String[] {"options",                "versionsinfo"});            int versioninfoModus = Integer.parseInt(temp);            return versioninfoModus;        }        catch (Exception e) {            AppleJuiceDialog.rewriteProperties = true;            if (logger.isEnabledFor(Level.ERROR)) {                logger.error(PROPERTIES_ERROR_MESSAGE, e);            }            AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false);            return 1;        }    }