aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/exception.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-24 16:35:29 -0800
committerJosh Blum <josh@joshknows.com>2011-02-24 16:35:29 -0800
commit4357f5d3c043245b5c086b20742795624af9f432 (patch)
tree7a3cfc9f5b3ffc285ecd611655d741355dcb39b8 /host/lib/exception.cpp
parent16f08844d7b6ccbdcfdf17963b88cadb7525ddc6 (diff)
downloaduhd-4357f5d3c043245b5c086b20742795624af9f432.tar.gz
uhd-4357f5d3c043245b5c086b20742795624af9f432.tar.bz2
uhd-4357f5d3c043245b5c086b20742795624af9f432.zip
uhd: replaced instanced of std::exception with the uhd exceptions
Diffstat (limited to 'host/lib/exception.cpp')
-rw-r--r--host/lib/exception.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/exception.cpp b/host/lib/exception.cpp
index 2299aa93f..e0d33bf48 100644
--- a/host/lib/exception.cpp
+++ b/host/lib/exception.cpp
@@ -38,6 +38,7 @@ make_exception_impl("AssertionError", assertion_error, exception)
make_exception_impl("LookupError", lookup_error, exception)
make_exception_impl("IndexError", index_error, lookup_error)
make_exception_impl("KeyError", key_error, lookup_error)
+make_exception_impl("TypeError", type_error, exception)
make_exception_impl("ValueError", value_error, exception)
make_exception_impl("RuntimeError", runtime_error, exception)
make_exception_impl("NotImplementedError", not_implemented_error, runtime_error)