Class ErrorState
- java.lang.Object
-
- org.orekit.files.ccsds.utils.parsing.ErrorState
-
- All Implemented Interfaces:
ProcessingState
public class ErrorState extends Object implements ProcessingState
SpecialProcessingState
that always generate an error message.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description ErrorState()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
processToken(ParseToken token)
Process one token.
-
-
-
Method Detail
-
processToken
public boolean processToken(ParseToken token)
Process one token.This method always generate an error, as no data is expected in this state.
- Specified by:
processToken
in interfaceProcessingState
- Parameters:
token
- token to process- Returns:
- true if token was processed, false otherwise
-
-