Ignore:
Timestamp:
Dec 11, 2012, 8:27:40 AM (10 years ago)
Author:
Peter
Message:

prefer throwing yat::utility::runtime_error. refs #729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/BamFile.h

    r2884 r2897  
    2121#include "BamHeader.h"
    2222#include "BamRead.h"
     23
     24#include "yat/utility/Exception.h"
    2325
    2426#include <sam.h>
     
    241243      std::ostringstream ss;
    242244      ss << "failed open " << fn;
    243       throw std::runtime_error(ss.str());
     245      throw utility::runtime_error(ss.str());
    244246    }
    245247  }
Note: See TracChangeset for help on using the changeset viewer.