Package nom.tam.fits
Class PaddingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
nom.tam.fits.FitsException
nom.tam.fits.PaddingException
- All Implemented Interfaces:
Serializable
This exception is thrown if padding is missing between the end of a FITS data
segment and the end-of-file. This padding is required by the FITS standard,
but some FITS writers may not add it. As of 1.17 our `Fits` class deals
seamlessly with such data, since the missing padding at the end-of-file is
harmless when reading in data. It will log a warning but proceed normally.
However, the exception is still thrown when using low-level
Data.read(nom.tam.util.ArrayDataInput)
to allow expert users to deal
with this issue in any way they see fit.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString