diff options
Diffstat (limited to 'branches/sca-java-1.x/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java')
-rw-r--r-- | branches/sca-java-1.x/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java b/branches/sca-java-1.x/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java index d6545b5a23..c86059f4f5 100644 --- a/branches/sca-java-1.x/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java +++ b/branches/sca-java-1.x/itest/exceptions-simple-ws/src/main/java/com/example/ExampleClientImpl.java @@ -40,5 +40,12 @@ public class ExampleClientImpl implements ExampleClient { } catch (BusinessException e) { System.out.println("caught exception from hello(): " + e.getMessage() + " for " + e.getClientName()); } + + try { + Object result = myService.helloUnchecked("John"); + System.out.println("myService returned " + result.getClass().getName()); + } catch (Exception e) { + System.out.println("caught exception from helloUnchecked(): " + e.getMessage()); + } } } |