diff options
author | 2016-02-01 11:58:17 +0200 | |
---|---|---|
committer | 2016-02-01 11:58:17 +0200 | |
commit | 00d74df1d05ce2b47d37574fda8806d71841d3e9 (patch) | |
tree | 032d4457292ec4e3021a67ac5ddb90683da059ec /src/rpc-server/commands/trex_rpc_cmd_stream.cpp | |
parent | dcacbb143335db3c6939e2d9dd87055c323e4ab3 (diff) | |
parent | f9dcbd38e90601f5571bb5bcfb67170876ecd3c6 (diff) |
Merge from origin
Diffstat (limited to 'src/rpc-server/commands/trex_rpc_cmd_stream.cpp')
-rw-r--r-- | src/rpc-server/commands/trex_rpc_cmd_stream.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp index 69e5dd18..8c07bc46 100644 --- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp +++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp @@ -116,7 +116,7 @@ TrexRpcCmdAddStream::_run(const Json::Value ¶ms, Json::Value &result) { try { port->add_stream(stream); - } catch (const TrexRpcException &ex) { + } catch (const TrexException &ex) { generate_execute_err(result, ex.what()); } @@ -350,7 +350,7 @@ TrexRpcCmdRemoveStream::_run(const Json::Value ¶ms, Json::Value &result) { try { port->remove_stream(stream); - } catch (const TrexRpcException &ex) { + } catch (const TrexException &ex) { generate_execute_err(result, ex.what()); } @@ -374,7 +374,7 @@ TrexRpcCmdRemoveAllStreams::_run(const Json::Value ¶ms, Json::Value &result) try { port->remove_and_delete_all_streams(); - } catch (const TrexRpcException &ex) { + } catch (const TrexException &ex) { generate_execute_err(result, ex.what()); } @@ -493,7 +493,7 @@ TrexRpcCmdStopTraffic::_run(const Json::Value ¶ms, Json::Value &result) { try { port->stop_traffic(); - } catch (const TrexRpcException &ex) { + } catch (const TrexException &ex) { generate_execute_err(result, ex.what()); } @@ -550,7 +550,7 @@ TrexRpcCmdPauseTraffic::_run(const Json::Value ¶ms, Json::Value &result) { try { port->pause_traffic(); - } catch (const TrexRpcException &ex) { + } catch (const TrexException &ex) { generate_execute_err(result, ex.what()); } @@ -571,7 +571,7 @@ TrexRpcCmdResumeTraffic::_run(const Json::Value ¶ms, Json::Value &result) { try { port->resume_traffic(); - } catch (const TrexRpcException &ex) { + } catch (const TrexException &ex) { generate_execute_err(result, ex.what()); } |