Ignore:
Timestamp:
10/21/13 13:34:19 (11 years ago)
Author:
tbretz
Message:
Added missing Mars style exception handling.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/zofits.h

    r17288 r17289  
    332332
    333333            if (!imin->emplace(InitNextCompression()))
     334            {
     335#ifdef __EXCEPTIONS
    334336                throw std::runtime_error("The compression queues are not started. Did you close the file before writing this row?");
     337#else
     338                gLog << ___err___ << "The compression queues are not started. Did you close the file before writing this row?" << std::endl;
     339                errno = 0;
     340                return false;
     341#endif
     342            }
    335343
    336344            errno = fErrno;
Note: See TracChangeset for help on using the changeset viewer.