public DapException buildException()
    {
        String XML = buildXML();
        DapException dapex = new DapException(XML).setCode(code);
        return dapex;
    }
public DapException buildException()
    {
        String XML = buildXML();
        DapException dapex = new DapException(XML).setCode(code);
        return dapex;
    }
public DapException buildException ( ) { String XML = buildXML ( ) ; DapException dapex = new DapException ( XML ) . setCode ( code ) ; return dapex ; }
Convert an ErrorResponse to the equivalent DapException.
@return  DapException representation of the ErrorResponse
Convert an ErrorResponse to the equivalent DapException .