Package nom.tam.fits

Class HeaderCardException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HierarchNotEnabledException, LongStringsNotEnabledException, LongValueException, UnclosedQuoteException, ValueTypeException

public class HeaderCardException extends FitsException
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 Details

    • HeaderCardException

      public HeaderCardException(String s)
      Instantiates this exception with the designated message string.
      Parameters:
      s - a human readable message that describes what in fact caused the exception
    • HeaderCardException

      public HeaderCardException(String s, Throwable reason)
      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 exception
      reason - the original exception (or other throwable) that triggered this exception.