00001 00002 // 00003 // Borland C++ 5.5, GNU C++ 3.0 00004 // Compiler Backend Library 00005 // $Id: errors_8h-source.html,v 1.1 2002/07/18 14:58:45 cparpart Exp $ 00006 // 00007 // Copyright (c) 2002 SurakWare Corp. 00008 // 00010 #ifndef sw_cbl_errors_h 00011 #define sw_cbl_errors_h 00012 00013 #include <swl/errors.h> 00014 00015 namespace cbl { 00016 00022 class EParserError : public swl::TException { 00023 public: 00024 EParserError(const std::string& AMsg) : swl::TException(AMsg) {} 00025 }; 00026 00031 class ESemanticError : public swl::TException { 00032 public: 00033 ESemanticError(const std::string& AMsg) : swl::TException(AMsg) {} 00034 }; 00035 00036 } // namespace cbl 00037 00038 #endif