OpenSearch/qa/evil-tests
Ryan Ernst a2c37c0989 CliTool: Allow unexpected exceptions to propagate
Cli tools currently catch all exceptions, and only print the exception
message, except when a special system property is set. Even with this
flag set, certain exceptions, like IOException, are captured and their
stack trace is always lost.

This change adds a UserError class, which can be used a cli tools to
specify a message to the user, as well as an exit status. All other
exceptions are propagated out of main, so java will exit with non-zero
and print the stack trace.
2016-02-01 16:35:22 -08:00
..
src/test CliTool: Allow unexpected exceptions to propagate 2016-02-01 16:35:22 -08:00
build.gradle Improve thirdPartyAudit check, round 3 2015-12-28 22:38:55 -05:00