Exception exception;
public void handleResponse(Response<FaultyWebServiceResponse> response) {
try {
TestLogger.logger.debug("FaultyAsyncHandler.handleResponse() was called");
FaultyWebServiceResponse r = response.get();
TestLogger.logger.debug("No exception was thrown from Response.get()");
}
catch (Exception e) {
TestLogger.logger.debug("An exception was thrown: " + e.getClass());
exception = e;