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 SummaryConstructorsConstructorDescriptionLongValueException(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 SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
LongValueExceptionpublic 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.
 
- 
LongValueExceptionInstantiates 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.
 
- 
LongValueExceptionInstantiates 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.
 
- 
LongValueExceptionInstantiates 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.
 
 
-