class NTv2Transform extends AbstractMathTransform implements MathTransform2D, Serializable {

    public NTv2Transform(URI file) throws NoSuchIdentifierException {
        if (file == null) {
            throw new NoSuchIdentifierException("No NTv2 Grid File specified.", null);
        }
        
        this.grid = file;
        
        gridLocation = locateGrid(grid.toString());
        if(gridLocation == null) {
            throw new NoSuchIdentifierException("Could not locate NTv2 Grid File " + file, null);
        }
        
        // Search for grid file
        if (!FACTORY.isNTv2Grid(gridLocation)) {
            throw new NoSuchIdentifierException("NTv2 Grid File not available.",
                    file.toString());
        }
    }

    public  NTv2Transform(URI file);

}