--- parser3/src/main/pa_exception.C 2003/01/31 12:34:37 1.43.2.10 +++ parser3/src/main/pa_exception.C 2003/02/03 13:04:17 1.43.2.11 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_EXCEPTION_C="$Date: 2003/01/31 12:34:37 $"; +static const char* IDENT_EXCEPTION_C="$Date: 2003/02/03 13:04:17 $"; #include "pa_common.h" #include "pa_exception.h" @@ -25,6 +25,20 @@ Exception::Exception() { fproblem_source=undefined_source; fcomment=CharPtr(0); } +Exception::Exception(const Exception& src): + ftype(src.ftype), + fproblem_source(src.fproblem_source), + fcomment(src.fcomment) { +} +Exception& Exception::operator =(const Exception& src) { + ftype=src.ftype; + fproblem_source=src.fproblem_source; + fcomment=src.fcomment; + return *this; +} + + + Exception::Exception(const char* atype, StringPtr aproblem_source, const char* comment_fmt, ...) {