home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / exceptns / newexcp / custexcp.cpp next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  795 b   |  27 lines

  1. //************************************************************
  2. // Error Handling - New Exception Class
  3. //
  4. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  5. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  6. // All Rights Reserved.
  7. //************************************************************
  8. #include "custexcp.hpp"
  9.  
  10. CustomException::CustomException ( const char*   errorText,
  11.                                    unsigned long errorId,
  12.                                    Severity      sev )
  13.          : IException(errorText, errorId, sev)
  14. { }
  15.  
  16. CustomException::~CustomException ( )    
  17. { }
  18.  
  19. CustomException::CustomException ( const CustomException& excp)
  20.          : IException(excp)
  21. { }
  22.  
  23. const char* CustomException::name ( ) const
  24.    return "CustomException"; 
  25. }
  26.