--- parser3/src/classes/op.C 2003/09/25 09:15:02 1.130 +++ parser3/src/classes/op.C 2003/11/06 09:16:33 1.134 @@ -5,12 +5,13 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_OP_C="$Date: 2003/09/25 09:15:02 $"; +static const char* IDENT_OP_C="$Date: 2003/11/06 09:16:33 $"; #include "classes.h" #include "pa_vmethod_frame.h" #include "pa_common.h" +#include "pa_os.h" #include "pa_request.h" #include "pa_vint.h" #include "pa_sql_connection.h" @@ -379,7 +380,7 @@ static void _case(Request& r, MethodPara // consts -const int DATA_STRING_SERIALIZED_VERSION=0x0004; +const int DATA_STRING_SERIALIZED_VERSION=0x0005; // helper types @@ -587,9 +588,8 @@ static void _try_operator(Request& r, Me try { result=r.process(body_code); } catch(const Exception& e) { - Request::Exception_details details=r.get_details(e); - Request_context_saver throw_context(r); // taking snapshot of throw-context [stack trace contains error] + Request::Exception_details details=r.get_details(e); try_context.restore(); // restoring try-context to perform catch-code Junction* junction=catch_code.get_junction(); @@ -639,7 +639,7 @@ static void _throw_operator(Request& r, :0; throw Exception(type, &source, "%s", comment?comment:""); } -} + } #if defined(WIN32) && defined(_DEBUG) # define PA_BPT