Class ErrorState

java.lang.Object
org.orekit.files.ccsds.utils.parsing.ErrorState
All Implemented Interfaces:
ProcessingState

public class ErrorState extends Object implements ProcessingState
Special ProcessingState that always generate an error message.
Since:
11.0
Author:
Luc Maisonobe
  • Constructor Details

    • ErrorState

      public ErrorState()
      Empty constructor.

      This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

      Since:
      12.0
  • Method Details

    • 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 interface ProcessingState
      Parameters:
      token - token to process
      Returns:
      true if token was processed, false otherwise