}
protected void writeResponse(RuntimeStats stats) throws OWSException {
TileLayer layer = convTile.getLayer();
GridSet gridSet = convTile.getGridSubset().getGridSet();
if (gridSet.getTileHeight() < j || j < 0) {
throw new OWSException(400, "PointIJOutOfRange", "J", "J was " + j
+ ", must be between 0 and " + gridSet.getTileHeight());
}
if (gridSet.getTileWidth() < i || i < 0) {
throw new OWSException(400, "PointIJOutOfRange", "I", "I was " + i
+ ", must be between 0 and " + gridSet.getTileWidth());
}
Resource data = null;
try {
BoundingBox bbox = convTile.getGridSubset().boundsFromIndex(convTile.getTileIndex());