]> git.argeo.org Git - lgpl/argeo-commons.git/blob - PrintHelpRequestException.java
017386b831df4641372d660c056345ba6ecfdc3e
[lgpl/argeo-commons.git] / PrintHelpRequestException.java
1 package org.argeo.api.cli;
2
3 /** An exception indicating that help should be printed. */
4 class PrintHelpRequestException extends RuntimeException {
5
6 private static final long serialVersionUID = -9029122270660656639L;
7
8 private String commandName;
9 private volatile CommandsCli commandsCli;
10
11 public PrintHelpRequestException(String commandName, CommandsCli commandsCli) {
12 super();
13 this.commandName = commandName;
14 this.commandsCli = commandsCli;
15 }
16
17 public static long getSerialversionuid() {
18 return serialVersionUID;
19 }
20
21 public String getCommandName() {
22 return commandName;
23 }
24
25 public CommandsCli getCommandsCli() {
26 return commandsCli;
27 }
28
29 }