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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/BamReadIterator.cc

    r2895 r2897  
    1919
    2020#include "BamFile.h"
     21
     22#include "yat/utility/Exception.h"
    2123
    2224#include <cstddef>
     
    9294        in_ = NULL;
    9395    }
    94     catch (std::runtime_error& e) {
     96    catch (utility::runtime_error& e) {
    9597      in_ = NULL;
    9698      throw e;
     
    120122        in_ = NULL;
    121123    }
    122     catch (std::runtime_error& e) {
     124    catch (utility::runtime_error& e) {
    123125      in_ = NULL;
    124126      throw e;
Note: See TracChangeset for help on using the changeset viewer.