Package nom.tam.fits
Class LongValueException
- All Implemented Interfaces:
Serializable
The value cannot fit into the available header space, as requested. Perhaps
it's preceded by a very long HIEARACH keyword, or else it's a numerical value
that is too long. Either way, there is no way we can represent this value in
its current form (and keyword) in a FITS header.
- Since:
- 1.16
- Author:
- Attila Kovacs
- See Also:
-
Constructor Summary
ConstructorDescriptionLongValueException
(int spaceAvailable) Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.LongValueException
(int spaceAvailable, String value) Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.LongValueException
(int spaceAvailable, String key, String value) Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.LongValueException
(String key, int spaceAvailable) Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LongValueException
public LongValueException(int spaceAvailable) Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.- Parameters:
spaceAvailable
- the maximum space available for the value field for the given record.
-
LongValueException
Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.- Parameters:
key
- the header keyword for which the exception occurred.spaceAvailable
- the maximum space available for the value field for the given record.
-
LongValueException
Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.- Parameters:
spaceAvailable
- the maximum space available for the value field for the given record.value
- the header value that was too long.
-
LongValueException
Instantiates a new exception about a long value that cannot be fitted into the space available for it in the FITS header.- Parameters:
spaceAvailable
- the maximum space available for the value field for the given record.key
- the header keyword for which the exception occurred.value
- the header value that was too long.
-