Skip to content

printStackTrace on catch #29

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. calling SyncProxy.newProxyInstance(GreetingService.class,
        "http://<ip_address>:<port>", "greet");

What is the expected output? What do you see instead?
When my server is not listening on the port, I get a printStackTrace saying 
"Connection refused.....".  I would like syncproxy to throw an exception and 
have my code catch it.  Alternatively, I can modify the syncproxy 
newProxyInstance code so to print a more generic message instead of a stack 
trace.  How do I recompile the library if I want to take the latter approach?

What version of the product are you using? On what operating system?
0.3, Linux




Original issue reported on code.google.com by lonelyty...@gmail.com on 12 Apr 2013 at 9:59

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions