Show
Ignore:
Timestamp:
09/26/07 13:52:30 (1 year ago)
Author:
patrick
Message:

MFT r20869: Protect against operator error if an invalid path is set in the

module's …_BASE_DIR environment variable.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/jackal/common/jccl/jcclmain.cpp

    r20787 r20870  
    251251   else 
    252252   { 
    253       base_dir = fs::path(env_dir, fs::native); 
     253      try 
     254      { 
     255         base_dir = fs::path(env_dir, fs::native); 
     256      } 
     257      catch (fs::filesystem_error& ex) 
     258      { 
     259         std::cerr << "Invalid path set in JCCL_BASE_DIR environment " 
     260                   << "variable:\n" << ex.what() << std::endl; 
     261      } 
    254262   } 
    255263