예제 #1
0
파일: co4065acos.cs 프로젝트: ydunk/masters
    public static void Main(String[] args)
    {
        bool          bResult = false;
        StringBuilder sblW    = null;
        Co4065Acos    cbA     = new Co4065Acos();

        try
        {
            bResult = cbA.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.Error.WriteLine("Co4065Acos.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;
        }
    }
예제 #2
0
 public static void Main( String[] args )
   {
   bool bResult = false; 
   StringBuilder sblW = null;
   Co4065Acos cbA = new Co4065Acos();
   try
     {
     bResult = cbA.runTest();
     }
   catch ( Exception exc )
     {
     bResult = false;
     Console.Error.WriteLine(  "Co4065Acos.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; 
   }