Changeset 12130 for trunk/FACT++


Ignore:
Timestamp:
09/17/11 09:40:27 (13 years ago)
Author:
tbretz
Message:
Improved exception output.
File:
1 edited

Legend:

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

    r11730 r12130  
    9696    {
    9797        stringstream err;
    98         err << "Server '" << s << "' in list not as it ought to be.";
     98        err << "DimServiceInfoList: Server '" << s << "' in list not as it ought to be.";
    9999        throw runtime_error(err.str());
    100100    }
     
    125125    {
    126126        stringstream err;
    127         err << "Server '" << s << "' not in list as it ought to be.";
     127        err << "DimServiceInfoList: Server '" << s << "' not in list as it ought to be.";
    128128        throw runtime_error(err.str());
    129129    }
     
    230230                {
    231231                    stringstream err;
    232                     err << "Service '" << server << "/" << name << "' not in list as it ought to be.";
     232                    err << "DimServiceInfoList: Service '" << server << "/" << name << "' not in list as it ought to be.";
    233233                    // Seems to happen why more than one client is subscribed
    234234                    // and e.g. the datalogger is immediately quit
     
    250250                {
    251251                    stringstream err;
    252                     err << "Service '" << server << "/" << name << "' already in list not as it ought to be.";
     252                    err << "DimServiceInfoList: Service '" << server << "/" << name << "' already in list not as it ought to be.";
    253253                    throw runtime_error(err.str());
    254254                }
Note: See TracChangeset for help on using the changeset viewer.