From 4dbc6ef917aeceb906b1ef1caf6911033e7e2c54 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Dec 2014 23:37:57 +0000 Subject: Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert()s with thrown exceptions. --- src/lib/exceptions.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/exceptions.cc') diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index 95d4c8cce..c4c3d0815 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -73,3 +73,9 @@ InvalidSignerError::InvalidSignerError () { } + +ProgrammingError::ProgrammingError (string file, int line) + : StringError (String::compose (_("Programming error at %1:%2"), file, line)) +{ + +} -- cgit v1.2.3