jcricket/gwt-syncproxy

printStackTrace on catch

Closed this issue · 5 comments

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

I've been unable to find a way to properly recompile from the original trunk 
source. I'm working on the Android library portion of this system, and for that 
I've redone the entire source tree into something I've been able to compile 
with using Eclipse. Take a look at the SourceAndTesting wiki for information on 
using this source tree. It's still in testing, but it's under the Android 
branch in the repository. 

I'll take a look into this issue, and as long as it doesn't seem too complex, 
I'll see if I can resolve this in my next update. Otherwise, if you're able to 
come up with a patch, place it on this issue and I'll integrate it.

Original comment by p.pr...@blueesoteric.com on 4 May 2013 at 7:30

Will address error message outputs in the 0.5 release

Original comment by p.pr...@blueesoteric.com on 11 Mar 2014 at 4:11

  • Changed state: Accepted
Will likely throw an appropriate EConn exception to be caught as needed. All 
print statements are being converted appropriately to exceptions or Java Util 
logger statements

Original comment by p.pr...@blueesoteric.com on 2 Jan 2015 at 2:13

  • Changed state: Started
  • Added labels: Milestone-Release0.5, Usability
Exceptions and Logger functionality in place for the 0.5 release.

Original comment by p.pr...@blueesoteric.com on 3 Jan 2015 at 8:24

  • Changed state: CompletePending
SyncProxy library version 0.5 is now available

Original comment by p.pr...@blueesoteric.com on 11 Jan 2015 at 4:32

  • Changed state: Fixed