code: @Override
      protected void doHandle(CommandContext ctx) throws CommandLineException {
          final TryCatchFinallyControlFlow flow = TryCatchFinallyControlFlow.get(ctx);
          if(flow == null) {
              throw new CommandLineException("finally is available only in try-catch-finally control flow");
          }
          if(flow.isInFinally()) {
              throw new CommandLineException("Already in finally");
          }
          flow.moveToFinally();
      }
docs: /* (non-Javadoc)
  @see org.jboss.as.cli.handlers.CommandHandlerWithHelp#doHandle(org.jboss.as.cli.CommandContext)