//=======================================================================
void InterpreterVirtual::CatchUnknownException()
{
+printf("EED InterpreterVirtual::CatchUnknownException Start\n");
//EED Borrame if (GetExecuter()->GetNoErrorMode())
//EED Borrame {
//EED Borrame std::string file("?");
CloseAllFiles();
std::cerr << mess.str();
}
+printf("EED InterpreterVirtual::CatchUnknownException End\n");
}
//=======================================================================
//=======================================================================
-#define CATCH_MACRO \
- catch (InterpreterException e) \
- { \
- CatchInterpreterException(e); \
- } \
+#define CATCH_MACRO \
+ catch (InterpreterException e) \
+ { \
+ CatchInterpreterException(e); \
+ } \
catch (bbtk::Exception e) \
- { \
- CatchBbtkException(e); \
- } \
+ { \
+ CatchBbtkException(e); \
+ } \
catch (std::exception& e) \
- { \
+ { \
CatchStdException(e); \
- } \
- catch (...) \
- { \
- CatchUnknownException(); \
+ } \
+ catch (...) \
+ { \
+ CatchUnknownException(); \
}
//=======================================================================
//=======================================================================
- InterpreterVirtual::ExitStatus
- InterpreterVirtual::InterpretBuffer( std::stringstream* buffer )
+ InterpreterVirtual::ExitStatus InterpreterVirtual::InterpretBuffer( std::stringstream* buffer )
{
bbtkDebugMessage("interpreter",4,"==> InterpreterVirtual::InterpretBuffer()"<<std::endl);
mCommandLine = exm;
+
return mStatus;
}
//=======================================================================