equal
deleted
inserted
replaced
390 } |
390 } |
391 else |
391 else |
392 { |
392 { |
393 if(iInputFileName.empty()) |
393 if(iInputFileName.empty()) |
394 { |
394 { |
395 throw SisUtilsException(const_cast<char *>("Usage Error"), |
395 throw SisUtilsException("Usage Error","No SIS file passed"); |
396 const_cast<char *>("No SIS file passed")); |
|
397 } |
396 } |
398 |
397 |
399 iSisUtils = new Sis2Iby((char*)iInputFileName.c_str()); |
398 iSisUtils = new Sis2Iby((char*)iInputFileName.c_str()); |
400 |
399 |
401 if(iSisUtils) |
400 if(iSisUtils) |
408 iSisUtils->ProcessSisFile(); |
407 iSisUtils->ProcessSisFile(); |
409 iSisUtils->GenerateOutput(); |
408 iSisUtils->GenerateOutput(); |
410 } |
409 } |
411 else |
410 else |
412 { |
411 { |
413 throw SisUtilsException(const_cast<char *>("Error:"), |
412 throw SisUtilsException("Error:","Cannot create Sis2Iby object"); |
414 const_cast<char *>("Cannot create Sis2Iby object")); |
|
415 } |
413 } |
416 } |
414 } |
417 } |
415 } |
418 |
416 |
419 void ImageHandler::PrintVersion() |
417 void ImageHandler::PrintVersion() |