From a77e41eee42b99282c05d268479ba5ebb11dc095 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 11 Oct 2006 15:54:09 +0000 Subject: Rearranged the tests, now it's like the old style, which I like more for some reason. --- src/tests/exception/exception.cpp | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/tests/exception/exception.cpp (limited to 'src/tests/exception') diff --git a/src/tests/exception/exception.cpp b/src/tests/exception/exception.cpp deleted file mode 100644 index 6417692..0000000 --- a/src/tests/exception/exception.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include "exceptions.h" - -int main() -{ - try - { - throw ExceptionBase( 42, "There was an error on line: %d", __LINE__ ); - } - catch( ExceptionBase &e ) - { - std::cout << "Error "<< e.getErrorCode() << ": " << e.what() << "\n"; - } - - throw ExceptionBase( 112, "This exception wasn't caught!"); -} -- cgit v1.2.3