Package nom.tam.fits
Class HeaderCardException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
nom.tam.fits.FitsException
nom.tam.fits.HeaderCardException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HierarchNotEnabledException
,LongStringsNotEnabledException
,LongValueException
,UnclosedQuoteException
,ValueTypeException
Exception that is generated when a header record is in violation of the
standard, or encounters some other header card specific issue.
- Author:
- David Glowacki
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates this exception with the designated message string.HeaderCardException
(String s, Throwable reason) 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
-
HeaderCardException
Instantiates this exception with the designated message string.- Parameters:
s
- a human readable message that describes what in fact caused the exception
-
HeaderCardException
Instantiates this exception with the designated message string, when it was triggered by some other type of exception- Parameters:
s
- a human readable message that describes what in fact caused the exceptionreason
- the original exception (or other throwable) that triggered this exception.
-