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

Last change on this file since 1307 was 1307, checked in by Peter Johansson, 11 years ago

no copyright on patch file

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

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