You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a runtime exception occurs while executing one of the convenience methods (CommandLine.run, CommandLine.call, CommandLine.parseWithHandlers, ...) the exception is wrapped in a ExecutionException and passed to the exception handler.
Currently, the default exception handler will rethrow this ExecutionException unconditionally.
However, when an exit code is set on the exception handler, the expectation is that picocli calls System.exit with that error code when an exception is encountered.
The text was updated successfully, but these errors were encountered:
When a runtime exception occurs while executing one of the convenience methods (
CommandLine.run
,CommandLine.call
,CommandLine.parseWithHandlers
, ...) the exception is wrapped in aExecutionException
and passed to the exception handler.Currently, the default exception handler will rethrow this
ExecutionException
unconditionally.However, when an exit code is set on the exception handler, the expectation is that picocli calls
System.exit
with that error code when an exception is encountered.The text was updated successfully, but these errors were encountered: