public static void Main(String[] args) { Boolean bResult = false; Co4336get_Values cbA = new Co4336get_Values(); try { bResult = cbA.runTest(); } catch (Exception exc_main) { bResult = false; Console.Error.WriteLine("Err_9999, Unhandeled Exception" + exc_main.ToString()); } if (!bResult) { Console.WriteLine("ACTIVE BUGS = " + Co4336get_Values.strActiveBugs); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }
public static void Main( String[] args ) { Boolean bResult = false; Co4336get_Values cbA = new Co4336get_Values(); try { bResult = cbA.runTest(); } catch ( Exception exc_main ) { bResult = false; Console.Error.WriteLine( "Err_9999, Unhandeled Exception" + exc_main.ToString() ); } if ( ! bResult ) Console.WriteLine( "ACTIVE BUGS = " + Co4336get_Values.strActiveBugs ); if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; }