management: Fix exception handling in nfd::Controller
Change-Id: I2acc3a25fd3ec11907b9ea4d4344f24512384f78
diff --git a/src/management/nfd-controller.cpp b/src/management/nfd-controller.cpp
index b75f0e0..00a5378 100644
--- a/src/management/nfd-controller.cpp
+++ b/src/management/nfd-controller.cpp
@@ -106,16 +106,6 @@
if (static_cast<bool>(onFail))
return onFail(e.what());
}
- catch(ControlResponse::Error& e)
- {
- if (static_cast<bool>(onFail))
- return onFail(e.what());
- }
- catch(FibManagementOptions::Error& e)
- {
- if (static_cast<bool>(onFail))
- return onFail(e.what());
- }
}
} // namespace nfd