home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somrerr.idl < prev    next >
Text File  |  1999-02-22  |  2KB  |  61 lines

  1. //
  2. //   COMPONENT_NAME: somr
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  8. //   All Rights Reserved
  9. //   Licensed Materials - Property of IBM
  10. //   US Government Users Restricted Rights - Use, duplication or
  11. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. //
  13. //#  @(#) 2.8 src/somr/somrerr.idl, somr, som2.1 9/1/94 15:53:19 [7/30/96 14:49:35]
  14.  
  15.  
  16.  
  17. #ifndef SOMRERR_IDL
  18. #define SOMRERR_IDL
  19.  
  20. exception somrException {
  21.   long primary;
  22.   long secondary;
  23. };
  24.  
  25. /*
  26. Primary Error Codes.
  27. -------------------- */
  28. const long SOMR_SYSTEM_ERROR     = 1;
  29. const long SOMR_FRAMEWORK_ERROR  = 2;
  30. const long SOMR_FRAMEWORK_STATUS = 3;
  31.  
  32. /*
  33. Secondary Error/Status Codes.
  34. ----------------------------- */
  35. const long SOMR_ACK     = 11111;
  36. const long SOMR_FAILURE = -1;
  37.  
  38. const long SOMR_BASE               = 500;
  39. const long SOMR_TIMEOUT            = SOMR_BASE + 0;
  40. const long SOMR_OK                 = SOMR_BASE + 1;
  41. const long SOMR_GRANTED            = SOMR_BASE + 1;
  42. const long SOMR_UNAUTHORIZED       = SOMR_BASE + 2;
  43. const long SOMR_TRYLATER           = SOMR_BASE + 3;
  44. const long SOMR_DENIED             = SOMR_BASE + 4;
  45. const long SOMR_LOCKBUSY           = SOMR_BASE + 5;
  46. const long SOMR_AMNOTMASTER        = SOMR_BASE + 6;
  47. const long SOMR_NOTMYSHDO          = SOMR_BASE + 7;
  48. const long SOMR_MASTER_UNREACHABLE = SOMR_BASE + 8;
  49. const long SOMR_NEWMASTER          = SOMR_BASE + 9;
  50. const long SOMR_URMASTER           = SOMR_BASE +10;
  51. const long SOMR_DONTHAVIT          = SOMR_BASE +11;
  52. const long SOMR_RELEASED           = SOMR_BASE +12;
  53. const long SOMR_CONNECTION_CLOSED  = SOMR_BASE +13;
  54. const long SOMR_LOCKNLOG_BADIR     = SOMR_BASE +14;
  55. const long SOMR_LOCKNLOG_PARAM     = SOMR_BASE +15;
  56. const long SOMR_LOCKNLOG_FAIL      = SOMR_BASE +16;
  57.  
  58. #endif
  59.  
  60.  
  61.