public final class GeoTiffException extends IOException
This exception is expected to be thrown when there is absolutely nothing wrong with the GeoTiff file which produced it. In this case, the exception is reporting an unsupported coordinate system description or raster to model transform, or some other unrecognized configuration of the GeoTIFFWritingUtilities tags. By doing so, it attempts to record enough information so that the maintainers can support it in the future.
Constructor and Description |
---|
GeoTiffException(GeoTiffIIOMetadataDecoder metadata,
String msg,
Throwable t)
Constructs an instance of
GeoTiffException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
GeoKeyEntry[] |
getGeoKeys()
Getter for property geoKeys.
|
String |
getMessage() |
AffineTransform |
getModelTransformation()
Getter for property modelTransformation.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GeoTiffException(GeoTiffIIOMetadataDecoder metadata, String msg, Throwable t)
GeoTiffException
with the specified detail message.metadata
- The metadata from the GeoTIFFWritingUtilities image causing the error.msg
- the detail message.public AffineTransform getModelTransformation()
public GeoKeyEntry[] getGeoKeys()
public String getMessage()
getMessage
in class Throwable
Copyright © 1996–2019 Geotools. All rights reserved.