From afdbf9a8f95aba0390acf917c3974c044eac6d23 Mon Sep 17 00:00:00 2001 From: cascade Date: Wed, 25 Feb 2004 12:04:27 +0000 Subject: [PATCH] Transition of jni and interface units to STL streams *.edl --- src/CPPIntExt/Interface_Template.edl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/CPPIntExt/Interface_Template.edl b/src/CPPIntExt/Interface_Template.edl index 877d1e3..69a35bf 100755 --- a/src/CPPIntExt/Interface_Template.edl +++ b/src/CPPIntExt/Interface_Template.edl @@ -262,7 +262,7 @@ $ $ $ default: $ Err << ErrMsg; aSignature->Display(Err); Err << (char) 0; -$ Engine::Return(Err.rdbuf()->str(),-1); +$ Engine::Return(GetSString(Err),-1); $ Eng_Status = Engine_Error; $ break; $ } @@ -278,14 +278,14 @@ $ aSignature->Display(Err); $ Err << ": raises the exception: " $ <str(),-1); +$ Engine::Return(GetSString(Err),-1); $ Eng_Status = Engine_Exception; $ } $ } $ $ switch(Eng_Status) { -$ case Engine_Exception:Engine_MethodException::Raise(Err.rdbuf()->str()); -$ case Engine_Error :Engine_ExecutionError::Raise(Err.rdbuf()->str()); +$ case Engine_Exception:Engine_MethodException::Raise(GetSString(Err)); +$ case Engine_Error :Engine_ExecutionError::Raise(GetSString(Err)); $ default: $ break; $ } @@ -296,7 +296,7 @@ $} $ $ if ((theCase <= 0) || (theCase >= %IntMaxCase)) { $ Err << ErrMsg; aSignature->Display(Err); Err << (char) 0; -$ Engine::Return(Err.rdbuf()->str(),-1); +$ Engine::Return(GetSString(Err),-1); $ Eng_Status = Engine_Error; $ } $ @@ -311,14 +311,14 @@ $ aSignature->Display(Err); $ Err << ": raises the exception: " $ <str(),-1); +$ Engine::Return(GetSString(Err),-1); $ Eng_Status = Engine_Exception; $ } $ } $ $ switch(Eng_Status) { -$ case Engine_Exception:Engine_MethodException::Raise(Err.rdbuf()->str()); -$ case Engine_Error :Engine_ExecutionError::Raise(Err.rdbuf()->str()); +$ case Engine_Exception:Engine_MethodException::Raise(GetSString(Err)); +$ case Engine_Error :Engine_ExecutionError::Raise(GetSString(Err)); $ default: $ break; $ } -- 2.39.5