Ignore:
Timestamp:
Mar 5, 2010, 11:59:01 PM (12 years ago)
Author:
Peter
Message:

fixes #281. Change all throws of std::runtime_error to theplu::yat::utility::runtime_error to clarify that the error comes from yat. Also removed some throw declarations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/yat_assert.h

    r2119 r2210  
    2222  along with yat. If not, see <http://www.gnu.org/licenses/>.
    2323*/
     24
     25#include "Exception.h"
    2426
    2527#include <sstream>
     
    6062    yat_msg_ << __FILE__ << ":" << __LINE__ << " failed assertion `" \
    6163             << #expr << "'";                                           \
    62     theplu::yat::utility::yat_assert<std::runtime_error>(expr,          \
    63                                                          yat_msg_.str()); \
     64    theplu::yat::utility::yat_assert<theplu::yat::utility::runtime_error>(expr, \
     65                                                    yat_msg_.str());  \
    6466  } \
    6567  else theplu::yat::utility::yat_assert<std::runtime_error>(expr, "")
Note: See TracChangeset for help on using the changeset viewer.