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

Matthew Swift
25.12.2016 7cd5a5ac008489ad92dbab20cdd8076c6979bd83
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, November 25, 2016 00:12 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, November 25, 2016 01:05 +0100
commit7cd5a5ac008489ad92dbab20cdd8076c6979bd83
tree 1f6d44295e8c3266a3339ab7760effdb4586d907 tree | zip | gz
parent 614b8af248d4690345691a26884d9a93a735a518 view | diff
Minor fix: improve server initialization failure messages

Previously, if the server's configuration was invalid, e.g. invalid port
number, then only a very limited stack trace was output that did not
provide any helpful detail. This change ensures that the generated
ConfigException has a useful message which is then output later in the
server initialization code.
1 files modified
36 ■■■■ changed files
opendj-config/src/main/java/org/forgerock/opendj/config/server/ConfigExceptionFactory.java 36 ●●●● diff | view | raw | blame | history