private void handleNonAcceptState() {
    if (dfa.isInErrorState())
      throw new LexicalException(handler.getLineNo() + 1, handler.getCharNo() + 1);
    else if (dfa.isInSpaceState())
      dfa.reset();
  }