source: trunk/yat/Exception.cc.patch @ 1351

Last change on this file since 1351 was 1351, checked in by Peter Johansson, 10 years ago

update to latest libyat. closes #471

  • Property svn:eol-style set to native
File size: 624 bytes
  • Exception.cc

    old new  
    2121
    2222#include "Exception.h"
    2323
    24 #include <gsl/gsl_errno.h>
    25 
    2624#include <cerrno>
    2725#include <cstring>
    2826#include <stdexcept>
     
    4745  {}
    4846
    4947
    50   GSL_error::GSL_error(std::string message)
    51     : runtime_error("GSL_error: " + message)
    52   {}
    53 
    54 
    55   GSL_error::GSL_error(std::string message, int gsl_status)
    56     : runtime_error("GSL_error: " + message + " " +
    57                          gsl_strerror(gsl_status))
    58   {}
    59 
    60 
    6148  IO_error::IO_error(std::string message)
    6249    : runtime_error("IO_error: " + message)
    6350  {}
Note: See TracBrowser for help on using the repository browser.