Changeset 10758 for trunk/FACT++/src


Ignore:
Timestamp:
05/20/11 11:27:17 (13 years ago)
Author:
lyard
Message:
Fixed an issue with CCfits exceptions handling
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Fits.cc

    r10741 r10758  
    9696                        fFile = new FITS(fileName, RWmode::Write);
    9797                }
    98                 catch (CCfits::FitsError e)
     98                catch (CCfits::FitsException e)
    9999                {                       
    100100                        stringstream str;
     
    177177                }
    178178        }
    179         catch(CCfits::FitsError e)
     179        catch(CCfits::FitsException e)
    180180        {
    181181                stringstream str;
     
    203203                fTable->addKey(name, value, comment);
    204204        }
    205         catch (CCfits::FitsError e)
     205        catch (CCfits::FitsException e)
    206206        {
    207207                stringstream str;
  • trunk/FACT++/src/dataLogger.cc

    r10741 r10758  
    16351635                (fNumSubAndFitsData.numOpenFits)++;
    16361636            }   
    1637             catch (CCfits::FitsError e)
     1637            catch (CCfits::FitsException e)
    16381638            {
    16391639                stringstream str;
     
    19341934        groupTable = groupFile->addTable("GROUPING", numFilesToGroup, names, dataTypes);
    19351935     }
    1936      catch (CCfits::FitsError e)
     1936     catch (CCfits::FitsException e)
    19371937     {
    19381938         stringstream str;
     
    22802280        ;
    22812281
    2282     po::options_description configs("Scheduler options");
     2282    po::options_description configs("DataLogger options");
    22832283    configs.add_options()
    22842284        ("block,b", vars<string>(), "Black-list of services")
Note: See TracChangeset for help on using the changeset viewer.