throw (IOException) new IOException("GetMap failed: "
+ mapRequest.getFinalURL());
}
return gcf.create(layers.get(0).getTitle(), image, gridEnvelope);
} finally {
response.dispose();
}
} catch (ServiceException e) {
throw (IOException) new IOException("GetMap failed").initCause(e);
}
}