X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples%2Fminimalistic-client-stub.cpp;h=d6ec5534aa9ecd404d04908fed27af3296adf0ce;hp=b12b6423801165c2fc2ad64a1d421585a4919272;hb=ec979c575be157f2c9b1b6ca3be1fb816ad671d9;hpb=bfe60617b40a78d0656accf878f231ce7bfa358b diff --git a/examples/minimalistic-client-stub.cpp b/examples/minimalistic-client-stub.cpp index b12b642..d6ec553 100644 --- a/examples/minimalistic-client-stub.cpp +++ b/examples/minimalistic-client-stub.cpp @@ -14,6 +14,7 @@ std::string cmd_group_example_client::testfunc(const std::string& str) testfunc_res* res=dynamic_cast(rc.get_result()); if (!res) + // TODO: another exception and details throw libt2n::t2n_communication_error("result object of wrong type"); return res->get_data(); }