@return An exception associated with the query or null if the query returned successfully.
()
| 716 | /** @return An exception associated with the query or null if the query |
| 717 | * returned successfully. */ |
| 718 | public String getException() { |
| 719 | if (exception == null) { |
| 720 | return "null"; |
| 721 | } |
| 722 | return exception.getMessage() + |
| 723 | (exception.getStackTrace() != null && exception.getStackTrace().length > 0 |
| 724 | ? "\n" + exception.getStackTrace()[0].toString() : ""); |
| 725 | } |
| 726 | |
| 727 | /** @return The HTTP status response for the query */ |
| 728 | public HttpResponseStatus getHttpResponse() { |