opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java
public int
    errparse(String text, DAP2Exception err)
            throws ParseException
    {
        return dapparse(text, null, null, err);
    }
public int
    errparse(String text, DAP2Exception err)
            throws ParseException
    {
        return dapparse(text, null, null, err);
    }
public int errparse ( String text , DAP2Exception err ) throws ParseException { return dapparse ( text , null , null , err ) ; }
Call this to parse an error{} body
Call this to parse an error {} body