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

  1. /**********************************************************************
  2. *                                                                     *
  3. *  IBM(R) VisualAge(TM) for C++ for Windows(R), Version 3.5           *
  4. *                                                                     *
  5. *  PID: 5622-880                                                      *
  6. *  - Licensed Material - Program-Property of IBM                      *
  7. *  (C) Copyright IBM Corp. 1991, 1995 - All Right Reserved.           *
  8. *                                                                     *
  9. *  US Government Users Restricted Rights - Use, duplication or        *
  10. *  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  *
  11. *                                                                     *
  12. *  VisualAge, and IBM are trademarks or registered trademarks of      *
  13. *  International Business Machines Corporation.                       *
  14. *  Windows is a registered trademark of Microsoft Corporation.        *
  15. *                                                                     *
  16. **********************************************************************/
  17.  
  18. inline
  19. ICollectionExceptionText::
  20. ~ICollectionExceptionText ( )
  21. { delete ivMsgTxt;
  22. }
  23.  
  24. inline char const*
  25. ICollectionExceptionText::
  26. text ( ) const
  27. { if (ivMsgTxt != 0)
  28.     return ivMsgTxt->text();
  29.   else
  30.     return "unknown exception text";
  31. }
  32.  
  33. inline
  34. ICollectionExceptionText::
  35. operator char const* () const
  36. { return text ();
  37. }
  38.