public void executionError(Location location, Throwable error)
{
if (error instanceof RequestExecutionException)
{
RuntimeErrorType runtime = ErrorHelper.getRuntimeInstance(mErrors);
RequestExecutionException exc = (RequestExecutionException)error;
RequestStatus status = null;
try
{
status = exc.getRequestResource().getRequestStatus();
}
catch (Exception e)
{
// an error occurred whilst getting the request status
LOG.error("Error retrieving the request status", e);