Class GeoTiffException
- Object
- 
- Throwable
- 
- Exception
- 
- IOException
- 
- GeoTiffException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public final class GeoTiffException extends IOException This exception is thrown when the problem with reading the GeoTiff file has to do with constructing either the raster to model transform, or the coordinate system. A GeoTiffException:- encapsulates the salient information in the GeoTiff tags, making the values available as read only properties.
- sends the appropriate log message to the log stream
- produces a readable message property for later retrieval
 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. - Author:
- Bryce Nordgren / USDA Forest Service, Simone Giannecchini
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GeoTiffException(GeoTiffIIOMetadataDecoder metadata, String msg, Throwable t)Constructs an instance ofGeoTiffExceptionwith the specified detail message.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoKeyEntry[]getGeoKeys()Getter for property geoKeys.StringgetMessage()AffineTransformgetModelTransformation()Getter for property modelTransformation.- 
Methods inherited from class ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
GeoTiffExceptionpublic GeoTiffException(GeoTiffIIOMetadataDecoder metadata, String msg, Throwable t) Constructs an instance ofGeoTiffExceptionwith the specified detail message.- Parameters:
- metadata- The metadata from the GeoTIFFWritingUtilities image causing the error.
- msg- the detail message.
 
 
- 
 - 
Method Detail- 
getModelTransformationpublic AffineTransform getModelTransformation() Getter for property modelTransformation.- Returns:
- Value of property modelTransformation.
 
 - 
getGeoKeyspublic GeoKeyEntry[] getGeoKeys() Getter for property geoKeys.- Returns:
- Value of property geoKeys.
 
 - 
getMessagepublic String getMessage() - Overrides:
- getMessagein class- Throwable
 
 
- 
 
-