Revision 5454

View differences:

org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.impl/src/main/java/org/gvsig/raster/lib/buffer/impl/DefaultBufferManager.java
10 10
import org.gvsig.raster.lib.buffer.api.BufferManager;
11 11
import org.gvsig.raster.lib.buffer.api.NoData;
12 12
import org.gvsig.raster.lib.buffer.impl.exceptions.CreateBandTypeException;
13
import org.gvsig.raster.lib.buffer.impl.exceptions.CreateBufferException;
13 14

  
14 15

  
15 16
/**
......
67 68
    }
68 69

  
69 70
    @Override
70
    public Buffer createBuffer(int rows, int columns, int[] bandDataTypes, IProjection projection, BandPageManager pageManager) {
71
    public Buffer createBuffer(int rows, int columns, int[] bandDataTypes, IProjection projection, BandPageManager pageManager) throws CreateBufferException {
71 72
        return new DefaultBuffer(rows, columns, bandDataTypes, projection, pageManager);
72 73
    }
73 74

  
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.api/src/main/java/org/gvsig/raster/lib/buffer/api/BufferManager.java
28 28
import org.cresques.cts.IProjection;
29 29

  
30 30
import org.gvsig.raster.lib.buffer.api.exceptions.BandException;
31
import org.gvsig.raster.lib.buffer.api.exceptions.BufferException;
31 32

  
32 33

  
33 34

  
......
73 74
     * @param rows
74 75
     * @param columns
75 76
     * @param bandDataTypes
77
     * @param projection
76 78
     * @param pageManager
77 79
     * @return Buffer
80
     * @throws CreateBufferException
78 81
     */
79
    public Buffer createBuffer(int rows, int columns, int[] bandDataTypes, IProjection projection, BandPageManager pageManager);
82
    public Buffer createBuffer(int rows, int columns, int[] bandDataTypes, IProjection projection, BandPageManager pageManager) throws BufferException;
80 83

  
81 84

  
82 85
    /**

Also available in: Unified diff