home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / UTILERRS.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  3KB  |  76 lines

  1. //====START_GENERATED_PROLOG======================================
  2. //
  3. //
  4. //   COMPONENT_NAME: odutils
  5. //
  6. //   CLASSES: none
  7. //
  8. //   ORIGINS: 82,27
  9. //
  10. //
  11. //   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  12. //   All Rights Reserved
  13. //   Licensed Materials - Property of IBM
  14. //   US Government Users Restricted Rights - Use, duplication or
  15. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  16. //       
  17. //   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. //   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. //   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  20. //   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  21. //   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  22. //   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  23. //   OR PERFORMANCE OF THIS SOFTWARE.
  24. //
  25. //====END_GENERATED_PROLOG========================================
  26. //
  27. // @(#) 1.4 com/src/utils/include/UtilErrs.h, odutils, od96os2, odos29646d 7/15/96 18:02:36 [ 11/15/96 15:29:35 ]
  28. /*
  29.     File:        UtilErrs.h
  30.  
  31.     Contains:    Error codes for various OpenDoc utilities. The error codes are
  32.                 gathered together here in order to avoid numbering conflicts
  33.                 and to allow for reuse.
  34.  
  35.     Owned by:    Nick Pilch
  36.  
  37.     Copyright:    ⌐ 1995 by Apple Computer, Inc., all rights reserved.
  38.  
  39. */
  40.  
  41. #ifndef _UTILERRS_
  42. #define _UTILERRS_
  43.  
  44. #ifndef _ODTYPES_
  45. #include "ODTypes.h"
  46. #endif
  47.  
  48. //=====================================================================================
  49. // Error constants
  50. //=====================================================================================
  51.  
  52. const ODError kODErrSOMException        = -29849; // Except
  53.  
  54. const ODError kODErrFileClosed            = -29848; // PlfmFile
  55. const ODError kODErrFileOpened            = -29847; // PlfmFile
  56.  
  57. const ODError kODErrCantLoadSOMClass    = -29846; // ODNewObj
  58.  
  59. const ODError kODErrAssertionFailed        = -29845; // ODDebug
  60.  
  61. const ODError kODErrReadErr                = -29844; // BndNSUtl
  62. const ODError kODErrWriteErr               = -29843; // BndNSUtl
  63.  
  64. const ODError kODErrHashValueSizeTooBig = -29842; // AEHshTbl, SIHshTbl
  65.  
  66. const ODError kODErrInvalidKey          = -29841; // StrHshTb
  67.  
  68. const ODError kODErrShapeTooComplex     = -29840; // AltPoly: Polygon shape is too huge for QuickDraw
  69. #if defined(_PLATFORM_WIN32_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_UNIX_)
  70. const ODError kODErrEndOfFile            = -29839; // PlfmFile
  71. #endif // defined(_PLATFORM_WIN32_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_UNIX_)
  72.  
  73. // Error codes up to -29830 are available for future expansion.
  74.  
  75. #endif /* _UTILERRS_ */
  76.