mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
06.06.2007 afad480942f611b6c411b82447cfe24ac4183a7e
refs
author kenneth_suter <kenneth_suter@localhost>
Wednesday, June 6, 2007 22:06 +0200
committer kenneth_suter <kenneth_suter@localhost>
Wednesday, June 6, 2007 22:06 +0200
commitafad480942f611b6c411b82447cfe24ac4183a7e
tree 80a3b3c13a0a5dc5018a5ff9aa872fb115c1108b tree | zip | gz
parent 582aa6f0c1ed9f0ce80a6a381f304b89502ec504 view | diff
The commit insures that in all cases instantiation of ApplicationException is done with a localized message since this the message contained in this exception is exposed to end users.

- A few instances of ApplicationException in Application.create() were converted to throw RuntimeException since the formerly thrown ApplicationExceptions were caught and converted to RuntimeExceptions anyway. End users will never see these exceptions unless there is something seriously wrong.

- All other instances of hard-coded messages were put in the messages properties file.
12 files modified
312 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/Application.java 18 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java 8 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties 45 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java 3 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetup.java 20 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/BuildExtractor.java 6 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeOracle.java 2 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 139 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/FileManager.java 5 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java 28 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/ServerHealthChecker.java 4 ●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/Utils.java 34 ●●●●● diff | view | raw | blame | history