--- parser3/src/include/pa_exception.h 2001/12/27 19:57:08 1.24 +++ parser3/src/include/pa_exception.h 2001/12/29 08:39:04 1.26 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_exception.h,v 1.24 2001/12/27 19:57:08 paf Exp $ + $Id: pa_exception.h,v 1.26 2001/12/29 08:39:04 paf Exp $ */ #ifndef PA_EXCEPTION_H @@ -35,6 +35,14 @@ public: const String *atype, const String *acode, const String *aproblem_source, const char *comment_fmt, ...); + Exception( + const String *atype, const String *acode, + const String *aproblem_source, + const char *comment_fmt, va_list args); + Exception( + const String *atype, const String *acode, + const String *aproblem_source, + GdomeException& exc); Exception(const Exception& src); Exception& operator =(const Exception& src); ~Exception(); @@ -65,6 +73,12 @@ public: private: + void initialize(const String *atype, const String *acode, + const String *aproblem_source, + const char *comment_fmt, va_list args); + +private: + const String *ftype, *fcode, *fproblem_source; bool owns_comment; char *fcomment;