diff options
author | lloyd <[email protected]> | 2010-03-04 03:03:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-04 03:03:23 +0000 |
commit | 5ada70d51341b4b11d7220747475d5506e7110b3 (patch) | |
tree | d6a4e0f7f58ba61804dbeab05beb6072413f8d72 /checks/check.cpp | |
parent | 1b0f06037e00d426f37c9180f02f1ec2157644bd (diff) |
Some botan exception throws are plain STL exceptions
Diffstat (limited to 'checks/check.cpp')
-rw-r--r-- | checks/check.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/checks/check.cpp b/checks/check.cpp index 03579b51a..1f46b5b4c 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -186,15 +186,9 @@ int run_test_suite(RandomNumberGenerator& rng) errors += do_pk_validation_tests(PK_VALIDATION_FILE, rng); //errors += do_cvc_tests(rng); } - catch(Botan::Exception& e) - { - std::cout << "Exception caught: " << e.what() << std::endl; - return 1; - } catch(std::exception& e) { - std::cout << "Standard library exception caught: " - << e.what() << std::endl; + std::cout << "Exception: " << e.what() << std::endl; return 1; } catch(...) |