Java Gateway interface improved exception handling collab/berick/java-http-gateway
authorBill Erickson <berick@esilibrary.com>
Fri, 16 Mar 2012 13:56:13 +0000 (09:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 19 Mar 2012 13:27:31 +0000 (09:27 -0400)
commit5e71c6a7a3ffd758a6a5e830272d17df9b5d6843
tree6a3392ec3830599af7a28944fdf2dffd08f6f615
parent942b6a4c901f2526bc2fb2efbb9bb2d1640d054a
Java Gateway interface improved exception handling

Handle any exceptions that should not reasonably occur in normal
operation under the covers.  Bubble the rest up.  Update test code with
examples.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/java/org/opensrf/net/http/GatewayRequest.java
src/java/org/opensrf/net/http/HttpConnection.java
src/java/org/opensrf/net/http/HttpRequest.java
src/java/org/opensrf/net/http/HttpRequestHandler.java
src/java/org/opensrf/test/TestGateway.java