protected NetcdfFile
    createNetcdfFile(String location, CancelTask canceltask)
            throws DapException
    {
        try {
            NetcdfFile ncfile = NetcdfFile.open(location, -1, canceltask, getContext());
            return ncfile;
        } catch (DapException de) {
            if (DEBUG)
                de.printStackTrace();
            throw de;
        } catch (Exception e) {
            if (DEBUG)
                e.printStackTrace();
            throw new DapException(e);
        }
    }
protected NetcdfFile
    createNetcdfFile(String location, CancelTask canceltask)
            throws DapException
    {
        try {
            NetcdfFile ncfile = NetcdfFile.open(location, -1, canceltask, getContext());
            return ncfile;
        } catch (DapException de) {
            if (DEBUG)
                de.printStackTrace();
            throw de;
        } catch (Exception e) {
            if (DEBUG)
                e.printStackTrace();
            throw new DapException(e);
        }
    }
protected NetcdfFile createNetcdfFile ( String location , CancelTask canceltask ) throws DapException { try { NetcdfFile ncfile = NetcdfFile . open ( location , - 1 , canceltask , getContext ( ) ) ; return ncfile ; } catch ( DapException de ) { if ( DEBUG ) de . printStackTrace ( ) ; throw de ; } catch ( Exception e ) { if ( DEBUG ) e . printStackTrace ( ) ; throw new DapException ( e ) ; } }
////////////////////////////////////////////////
////////////////////////////////////////////////