Revision 5503 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/exceptions/CopyFromBandException.java

View differences:

CopyFromBandException.java
3 3
import org.gvsig.raster.lib.buffer.api.Band;
4 4
import org.gvsig.raster.lib.buffer.api.exceptions.BandException;
5 5

  
6

  
7

  
8 6
/**
9 7
 * @author fdiaz
10 8
 *
......
15 13
     *
16 14
     */
17 15
    private static final long serialVersionUID = 7307578790788586699L;
18
    private final static String MESSAGE_FORMAT = "Exception copying band '%(bandSource)' to '%(bandDest)'.";
16
    private final static String MESSAGE_FORMAT =
17
        "Exception copying band '%(bandSource)' to '%(bandDest)'.";
19 18
    private final static String MESSAGE_KEY = "_CopyFromBandException";
20 19

  
21 20
    /**
22
     * @param band
21
     * Default constructor
22
     * 
23
     * @param bandSource
24
     *            Band source
25
     * @param bandDest
26
     *            Band to be copied
23 27
     * @param cause
28
     *            Cause of exception
24 29
     */
25 30
    public CopyFromBandException(Band bandSource, Band bandDest, Throwable cause) {
26 31
        super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID);
......
30 35
    }
31 36

  
32 37
    /**
33
     * @param type
38
     * Default constructor
39
     * 
40
     * @param bandSource
41
     *            Band source
42
     * @param bandDest
43
     *            Band to be copied
44
     * @param cause
45
     *            Cause of exception
34 46
     */
35 47
    public CopyFromBandException(Band bandSource, Band bandDest) {
36 48
        this(bandSource, bandDest, null);

Also available in: Unified diff