opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java
public int dapparse(String text, DDS dds, DAS das, DAP2Exception err) throws ParseException
    {
        //setDebugLevel(1);
        ddsobject = dds;
        dasobject = das;
        errobject = (err == null ? new DAP2Exception() : err);

        dapdebug = getDebugLevel();
        Boolean accept = parse(text);
        if(!accept)
            throw new ParseException("Dap2 Parser returned false");
        return parseClass;
    }
public int dapparse(String text, DDS dds, DAS das, DAP2Exception err) throws ParseException
    {
        //setDebugLevel(1);
        ddsobject = dds;
        dasobject = das;
        errobject = (err == null ? new DAP2Exception() : err);

        dapdebug = getDebugLevel();
        Boolean accept = parse(text);
        if(!accept)
            throw new ParseException("Dap2 Parser returned false");
        return parseClass;
    }
/* Parse invocation interface