Changeset 64 for trunk/src/logger.cc


Ignore:
Timestamp:
05/30/13 20:13:08 (12 years ago)
Author:
epyon
Message:
  • root class for object trees
  • revised exception throwing - now using NV_THROW macro
  • exceptions thrown are logged
  • formatting fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/logger.cc

    r48 r64  
    55#include "nv/logger.hh"
    66
     7#include "nv/common.hh"
    78#include <iostream>
    89#include <utility>
     
    208209        {
    209210                // throw if not open
    210                 throw runtime_error( "Could not open file \""+file_name+"\" for logging!" );
     211                NV_THROW( runtime_error, "Could not open file \""+file_name+"\" for logging!" );
    211212        }
    212213
Note: See TracChangeset for help on using the changeset viewer.