--- parser3/src/main/pa_exception.C 2001/10/11 14:57:53 1.17 +++ parser3/src/main/pa_exception.C 2001/10/19 12:43:30 1.19 @@ -4,15 +4,15 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_exception.C,v 1.17 2001/10/11 14:57:53 parser Exp $ + $Id: pa_exception.C,v 1.19 2001/10/19 12:43:30 parser Exp $ */ #include "pa_common.h" #include "pa_exception.h" -void Exception::_throw(const String *atype, const String *acode, +Exception::Exception(const String *atype, const String *acode, const String *aproblem_source, - const char *comment_fmt, ...) const { + const char *comment_fmt, ...) { //_asm int 3; ftype=atype; fcode=acode; @@ -25,10 +25,9 @@ void Exception::_throw(const String *aty va_end(args); } else fcomment[0]=0; - - longjmp(mark, 1); } +#ifdef XML void Exception::_throw(Pool& pool, const String *source, const XSLException& e) { if(e.getURI().empty()) _throw(0, 0, @@ -111,4 +110,4 @@ void Exception::_throw(Pool& pool, const code // code of exception ); } - +#endif