public JSONToken getNextToken() {
   try {
     m_currentToken = m_lexer.yylex();
     //			LogManager.getInstance(JSONStreamReadContext.class).log(Level.FINE, "Token read: " +
     // m_currentToken);
     return m_currentToken;
   } catch (IOException ioe) {
     throw new ParseException(m_lexer.yytext(), m_lexer.getRow(), m_lexer.getColumn(), ioe);
   }
 }
 public JSONTokenType getCurrentTokenType() {
   if (null == m_currentToken) {
     throw new ParseException(
         m_lexer.yytext(),
         m_lexer.getRow(),
         m_lexer.getColumn(),
         "Unexpected end of input stream.");
   }
   return m_currentToken.m_type;
 }