public class PaddingException extends FitsException
Fits f = new Fits("somefile");
try {
f.read();
} catch (PaddingException e) {
f.addHDU(e.getHDU());
}
to ensure that a truncated HDU is included in the FITS object.
Generally the FITS file have already added any HDUs prior
to the truncatd one.Constructor and Description |
---|
PaddingException(Data datum)
When the error is thrown, the data object being
read must be supplied.
|
PaddingException(java.lang.String msg,
Data datum) |
Modifier and Type | Method and Description |
---|---|
BasicHDU |
getTruncatedHDU() |
public PaddingException(Data datum) throws FitsException
FitsException
public PaddingException(java.lang.String msg, Data datum) throws FitsException
FitsException
public BasicHDU getTruncatedHDU()