Changes between Version 1 and Version 2 of FDORfc37


Ignore:
Timestamp:
Jun 9, 2009, 7:48:10 PM (15 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc37

    v1 v2  
    99||RFC Template Version||(1.0)||
    1010||Submission Date|| June 08, 2009 ||
    11 ||Last Modified|| Leaf Li[[Timestamp]]||
     11||Last Modified|| Leaf Li [[Timestamp]]||
    1212||Author||Leaf Li||
    1313||RFC Status||draft||
     
    3030However, it is impossible for FDO exception classes to cover all exception type. For some FDO data sources such as Oracle and SQL Server, they already return their native error code to FDO provider when encountering errors. If FDO can return the native error code to users, users may be able to handle it properly. For exmaple,
    3131
     32{{{
     33try
     34{
     35. . . . . .
     36}
     37catch (FdoException* e)
     38{
     39FdoInt64 errorCode = e->GetNativeErrorCode();
     40e->Release();
     41// Take some measures according to native error code
     42. . . . . .
     43}
     44}}}
     45
    3246== Proposed Solution ==
    3347