}
_version = newver.toString();
} catch (Exception e) {
- setErrorCode("version.mismatch");
+ setErrorCode("message.error.version.mismatch");
res = false;
}
}
try {
check.parse(_date);
} catch (ParseException e) {
- setErrorCode("format.date");
+ setErrorCode("message.error.format.date");
res = false;
}
}
}
} else {
- setErrorCode("reference.mismatch");
+ setErrorCode("message.error.reference.mismatch");
res = false;
}
}
res = SUCCESS;
} catch (FileNotFoundException error) {
LOG.error("Reason:", error);
- setErrorCode("import.file");
+ setErrorCode("message.error.import.file");
} catch (Exception error) {
LOG.error("Reason:", error);
- setErrorCode("internal");
+ setErrorCode("message.error.internal");
}
if (!SUCCESS.equals(res)) {
setToolProperty(Constants.NONE);