Package nom.tam.fits
Class TruncatedFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
nom.tam.fits.FitsException
nom.tam.fits.TruncatedFileException
- All Implemented Interfaces:
Serializable
When an EOF is encountered in the middle of an HDU.
-
Constructor Summary
ConstructorDescriptionInstantiates this exception with the designated message string.TruncatedFileException
(String msg, Exception cause) Instantiates this exception with the designated message string, when it was triggered by some other type of exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TruncatedFileException
Instantiates this exception with the designated message string.- Parameters:
msg
- a human readable message that describes what in fact caused the exception
-
TruncatedFileException
Instantiates this exception with the designated message string, when it was triggered by some other type of exception- Parameters:
msg
- a human readable message that describes what in fact caused the exceptioncause
- the original exception (or other throwable) that triggered this exception.
-