Skip to content

Commit

Permalink
Refs #5146 Throwing exception if Sassena version not found
Browse files Browse the repository at this point in the history
modified:   LoadSassena.cpp
  • Loading branch information
jmborr committed Jan 11, 2013
1 parent e9ada72 commit aacd025
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/Framework/DataHandling/src/LoadSassena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ void LoadSassena::exec()
char cversion[16];
if ( H5LTget_attribute_string( h5file, "/", "sassena_version", cversion ) < 0 )
{
this->g_log.error("Unable to read version string:"+m_filename);
//throw Kernel::Exception::FileError("Unable to read version string:" , m_filename);
throw Kernel::Exception::FileError("Unable to read Sassena version" , m_filename);
}
//const std::string version(cversion);
//determine which loader protocol to use based on the version
Expand Down

0 comments on commit aacd025

Please sign in to comment.