public static void main ( String [ ] args ) { int errorLevel = 0 ; try { errorLevel = run ( args ) ; } catch ( Throwable e ) { System . exit ( - 1 ) ; } System . exit ( errorLevel ) ; }
Entry point . This is what gets executes when starting this program from the command line . This is actually a simple wrapper so that an errorlevel of ! = 0 is guaranteed in case of an uncaught exception .