public OutputVariable<String> getVariable() { try { return new OutputVariable<String>(propertyName, Properties.getStringValue(propertyName)); } catch (Exception e) { // TODO: What would be better? return new OutputVariable<String>(propertyName, "error"); } }
buffer.append("="); try { buffer.append(getStringValue(p.key())); } catch (Exception e) { logger.error("Exception " + e.getMessage(), e);