![]() ![]() |
![]() |
File: [Pegasus] / pegasus / src / Pegasus / Compiler / parserExceptions.h
(download)
Revision: 1.2, Sat Mar 24 01:45:00 2001 UTC (23 years, 3 months ago) by bob Branch: MAIN Changes since 1.1: +26 -25 lines Try to make this file cure itself in CVS |
// Exceptions that can occur in processing the cimmof compiler command line // #ifndef _PARSEREXCEPTION_H_ #define _PARSEREXCEPTION_H_ // NOTE: This exception does not use the Exception class from // Pegasus/Common because it has to do with the base class parser, // which should be reusable outside Pegasus. #include <string> namespace ParserExceptions { class PEGASUS_COMPILER_LINKAGE ParserException { private: const string _msg; public: ParserException(const char *msg) : _msg(msg) {} ; ParserException(const string &msg) : _msg(msg) {}; const string &getMessage() const { return _msg; }; }; class PEGASUS_COMPILER_LINKAGE ParserLexException : public ParserException { public: ParserLexException(const char *msg) : ParserException(msg) {}; ParserLexException(const string &msg) : ParserException(msg) {}; ~ParserLexException() {}; }; } #endif
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |