|
barcode4j 2.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.krysalis.barcode4j.cli.AbstractExitHandler
Abstract base class for an exit handler for the CLI.
| Constructor Summary | |
AbstractExitHandler()
|
|
| Method Summary | |
void |
failureExit(Main app,
java.lang.String msg,
java.lang.Throwable t,
int exitCode)
Called to indicate an exit with failure. |
void |
successfulExit(Main app)
Called to indicate a clean, successful exit. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractExitHandler()
| Method Detail |
public void successfulExit(Main app)
ExitHandler
successfulExit in interface ExitHandlerapp - the application instanceExitHandler
public void failureExit(Main app,
java.lang.String msg,
java.lang.Throwable t,
int exitCode)
ExitHandler
failureExit in interface ExitHandlerapp - the application instancemsg - an error messaget - an associated exception (may be null)exitCode - application exit code (must be non-zero)ExitHandler
|
barcode4j 2.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||