home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / sdsexc.idl < prev    next >
Encoding:
Text File  |  1996-02-22  |  2.0 KB  |  57 lines

  1. /********************************************************************************/
  2. /* File:   sdsexc.idl                                                           */
  3. /* Class:  SOM CODA EXCEPTION CLASSES                                           */
  4. /*                                                                              */
  5. /*                                                                              */
  6. /********************************************************************************/
  7.  
  8. #ifndef _SDSEXC_IDL_
  9. #define _SDSEXC_IDL_
  10.  
  11. /***********************************************
  12.  
  13.     Licensed Materials - Property of IBM
  14.  
  15.     5622-880   5801-AAR
  16.  
  17.     (c) Copyright IBM Corp 1991, 1996.
  18.  
  19. ************************************************/
  20.  
  21. interface DA {
  22.  
  23. #define da_exception {            \
  24.         long error_number;        \
  25.         char error_code[8];       \
  26.         char error_state[8];      \
  27.         boolean error_avail;      \
  28.         char error_text[256];     \
  29.         }
  30.  
  31. exception  DatastoreConnectionInUse             da_exception;
  32. exception  DatastoreConnectionNotOpen           da_exception;
  33. exception  DatastoreAccessError                 da_exception;
  34. exception  ConnectFailed                        da_exception;
  35. exception  DisconnectError                      da_exception;
  36. exception  OptionInvalid                        da_exception;
  37. exception  DataObjectInvalid                    da_exception;
  38. exception  DataObjectAlreadyExist               da_exception;
  39. exception  DataObjectNotFound                   da_exception;
  40. exception  DatastoreLogonFailed                 da_exception;
  41. exception  DatastoreLogoffFailed                da_exception;
  42. exception  SystemAccessError                    da_exception;
  43. exception  RequestInvalid                       da_exception;
  44. exception  DataObjectAttributeInvalid           da_exception;
  45. exception  ParameterInvalid                     da_exception;
  46.  
  47. };
  48.  
  49.  
  50.  
  51.  
  52.  
  53. #pragma somemittypes on
  54. #include "idaerrno.hpp"
  55. #pragma somemittypes off
  56. #endif
  57.