Ignore:
Timestamp:
Jan 9, 2011, 7:19:07 AM (14 years ago)
Author:
Sam Habiel
Message:

BMXNetConnectInfo:
Pass up BMXNetException instead of recreating it as a new generic Exception; for more accurate error catching.
W32Handle for class not acquired. Don't even know why we needed that.
DSelectDivision:
Load event now has this.Activate to bring the window to the front. Needed b/c of new splash screen in Sched GUI which will show up front unless this form is activated.
BMXNetLib:
Better handling of exception in OpenConnectionCommon (pass inner exception when creating BMXNetException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/BMXNetLib.cs

    r970 r1063  
    807807                        catch (Exception ex)
    808808                        {
    809                                 string s = ex.Message + ex.StackTrace;
    810                                 throw new BMXNetException(s);
     809                                //string s = ex.Message + ex.StackTrace;
     810                throw new BMXNetException(ex.Message, ex);
    811811                        }
    812812                }
     
    11061106                    Debug.Write("TransmitRPC Received: " + strResult.Replace((char) 30, (char) 10) + "\n");
    11071107                    TimeSpan executionTime = receiveTime - sendTime;
    1108                     Debug.Write("Execution Time: " + executionTime.Milliseconds + " ms.\n");
     1108                    Debug.Write("Execution Time: " + executionTime.TotalMilliseconds + " ms.\n");
     1109                    Debug.Write("-------------------------------------------------------\n");
    11091110#endif
    11101111                                        if (sOldAppContext != "")
Note: See TracChangeset for help on using the changeset viewer.