Ignore:
Timestamp:
10/19/06 15:28:24 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MReadTree.cc

    r7838 r8133  
    341341    {
    342342        *fLog << err << "MReadTree::AddFile - ERROR: You cannot add a file, because MReadTree" << endl;
    343         *fLog <<        "                            handles a memory based tree or its default" << endl;
    344         *fLog <<        "                            constructor was called." << endl;
     343        *fLog <<        "  is supposed to read its tree from memory or its default or its" << endl;
     344        *fLog <<        "  default constructor was called (no tree name was given)." << endl;
    345345        return 0;
    346346    }
     
    703703    if (!fTaskList)
    704704        *fLog << warn << "WARNING - Standard tasklist MTaskList not found... ignoring Stream-ID." << endl;
     705
     706    if (!fTree || !fChain)
     707    {
     708        *fLog << err << "ERROR - Something went terribly wrong!" << endl;
     709        *fLog <<        "        Maybe you called the default constructor?" << endl;
     710        *fLog <<        "        Did you forget to give a tree name in the constructor?" << endl;
     711        return kFALSE;
     712    }
    705713
    706714    //
Note: See TracChangeset for help on using the changeset viewer.