public void test_error_0() {
        Exception error = null;
        try {
            JSONScanner lexer = new JSONScanner("--");
            lexer.scanNumber();
            lexer.intValue();
        } catch (Exception ex) {
            error = ex;
        }
        Assert.assertNotNull(error);
    }
parseInt

@author wenshao[szujobs@hotmail.com]
src/test/java/com/alibaba/json/bvt/parser/JSONScannerTest_int.java