summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/include/trex_rpc_server_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc-server/include/trex_rpc_server_api.h')
-rw-r--r--src/rpc-server/include/trex_rpc_server_api.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/rpc-server/include/trex_rpc_server_api.h b/src/rpc-server/include/trex_rpc_server_api.h
index 98e5f977..f9860e14 100644
--- a/src/rpc-server/include/trex_rpc_server_api.h
+++ b/src/rpc-server/include/trex_rpc_server_api.h
@@ -28,16 +28,7 @@ limitations under the License.
#include <string>
#include <stdexcept>
-/**
- * generic exception for RPC errors
- *
- */
-class TrexRpcException : public std::runtime_error
-{
-public:
- TrexRpcException(const std::string &what) : std::runtime_error(what) {
- }
-};
+#include <trex_rpc_exception_api.h>
/* forward decl. of class */
class TrexRpcServerInterface;