Class ExecutionExceptionHandler

java.lang.Object
org.wildfly.prospero.cli.ExecutionExceptionHandler
All Implemented Interfaces:
picocli.CommandLine.IExecutionExceptionHandler

public class ExecutionExceptionHandler extends Object implements picocli.CommandLine.IExecutionExceptionHandler
Handles exceptions that happen during command executions.
  • Constructor Details

    • ExecutionExceptionHandler

      public ExecutionExceptionHandler(CliConsole console, boolean isVerbose)
  • Method Details

    • handleExecutionException

      public int handleExecutionException(Exception ex, picocli.CommandLine commandLine, picocli.CommandLine.ParseResult parseResult) throws Exception
      Specified by:
      handleExecutionException in interface picocli.CommandLine.IExecutionExceptionHandler
      Throws:
      Exception