diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-10-01 16:27:11 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-10-01 16:27:11 -0230 |
commit | 36a9c67e6a0832a50d64f39f5bfd328beb56e989 (patch) | |
tree | efbf378ddba4c84aad86d3306b61d3c8b22fab3e /java/test/controller/src/main/slice/Controller.ice | |
parent | Fixed missing lib directory for RPATH on install of Py/Ruby/Php modules (diff) | |
download | ice-36a9c67e6a0832a50d64f39f5bfd328beb56e989.tar.bz2 ice-36a9c67e6a0832a50d64f39f5bfd328beb56e989.tar.xz ice-36a9c67e6a0832a50d64f39f5bfd328beb56e989.zip |
ICE-6767 Better handling of server start failure by test controller
Diffstat (limited to 'java/test/controller/src/main/slice/Controller.ice')
-rw-r--r-- | java/test/controller/src/main/slice/Controller.ice | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/java/test/controller/src/main/slice/Controller.ice b/java/test/controller/src/main/slice/Controller.ice index 0508b4826da..7e4c2b95eda 100644 --- a/java/test/controller/src/main/slice/Controller.ice +++ b/java/test/controller/src/main/slice/Controller.ice @@ -13,10 +13,15 @@ module Test module Common { +exception ServerFailedException +{ + string reason; +}; + interface Server { void waitTestSuccess(); - void waitForServer(); + void waitForServer() throws ServerFailedException; void terminate(); }; @@ -24,8 +29,7 @@ sequence<string> StringSeq; interface Controller { - Server* runServer(string lang, string name, string protocol, string host, bool winrt, - StringSeq options); + Server* runServer(string lang, string name, string protocol, string host, bool winrt, StringSeq options); }; }; |