|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.krysalis.barcode4j.cli.AbstractExitHandler
org.krysalis.barcode4j.cli.DefaultExitHandler
public class DefaultExitHandler
Default exit handler that calls System.exit().
| Constructor Summary | |
|---|---|
DefaultExitHandler()
|
|
| 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 DefaultExitHandler()
| Method Detail |
|---|
public void failureExit(Main app,
java.lang.String msg,
java.lang.Throwable t,
int exitCode)
failureExit in interface ExitHandlerfailureExit in class AbstractExitHandlerapp - the application instancemsg - an error messaget - an associated exception (may be null)exitCode - application exit code (must be non-zero)ExitHandlerpublic void successfulExit(Main app)
successfulExit in interface ExitHandlersuccessfulExit in class AbstractExitHandlerapp - the application instanceExitHandler
|
barcode4j 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||