Add javadoc, replace loggers with exceptions and correct amistake in method createEmptyGeoRaster.