OpenSearch/plugins/mapper-attachments
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
..
licenses thirdPartyAudit round 2 2015-12-17 02:35:00 -05:00
src CliTool: Allow unexpected exceptions to propagate 2016-02-01 16:35:22 -08:00
build.gradle Remove remaining xlints from plugins 2016-01-19 10:53:48 -05:00