- {
-printf("EED Utilities::GetExecutablePath 2.1 \n");
-// bbtkGlobalError("Could not determine current executable path ?");
-
-/*
-
-printf("EED Utilities bbtkGlobalError XX Start\n");
- do
- {
-printf("EED Utilities bbtkGlobalError XX A.1\n");
- std::ostringstream s;
-printf("EED Utilities bbtkGlobalError XX A.2\n");
- s << "Could not determine current executable path ?";
-printf("EED Utilities bbtkGlobalError XX A.3\n");
- std::ostringstream f;
-printf("EED Utilities bbtkGlobalError XX A.4\n");
- f << __FILE__ << " (l."<<__LINE__<<")";
-printf("EED Utilities bbtkGlobalError XX A.5\n");
-std::string aa=f.str();
-printf("EED Utilities bbtkGlobalError XX A.6\n");
-std::string bb=f.str();
-printf("EED Utilities bbtkGlobalError XX A.7\n");
- bbtk::Exception e( "global scope",
- f.str(),
- s.str());
- throw e;
-printf("EED Utilities bbtkGlobalError XX B\n");
- }
- while (0);
-printf("EED Utilities bbtkGlobalError XX End\n");
-
-*/
-
-
-printf("EED Utilities::GetExecutablePath 2.2 \n");
- }
-
+ {
+ try
+ {
+ bbtkGlobalError("Could not determine current executable path ?");
+ }
+ catch (bbtk::Exception e)
+ {
+ std::cerr << e.GetErrorMessage() << std::endl;
+ }
+ }
+