public static void Main(String[] args) { Boolean bResult = false; StringBuilder sblW = null; Co4045Abs_SByte cbA = new Co4045Abs_SByte(); try { bResult = cbA.runTest(); } catch (Exception exc) { bResult = false; Console.Error.WriteLine("Co4045Abs_SByte .cs"); sblW = new StringBuilder("EXTENDEDINFO: (E_999zzz) "); sblW.Append(exc.ToString()); Console.Error.WriteLine(sblW.ToString()); } if (bResult == true) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }
public static void Main( String[] args ) { Boolean bResult = false; StringBuilder sblW = null; Co4045Abs_SByte cbA = new Co4045Abs_SByte (); try { bResult = cbA.runTest(); } catch ( Exception exc ) { bResult = false; Console.Error.WriteLine( "Co4045Abs_SByte .cs" ); sblW = new StringBuilder( "EXTENDEDINFO: (E_999zzz) " ); sblW.Append( exc.ToString() ); Console.Error.WriteLine( sblW.ToString() ); } if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; }