Revision 5453 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/CreateBufferException.java
CreateBufferException.java | ||
---|---|---|
17 | 17 |
/** |
18 | 18 |
* |
19 | 19 |
*/ |
20 |
private final static String MESSAGE_FORMAT = "Exception creating buffer with type '%(type)'.";
|
|
20 |
private final static String MESSAGE_FORMAT = "Exception creating buffer."; |
|
21 | 21 |
private final static String MESSAGE_KEY = "_CreateBufferException"; |
22 | 22 |
|
23 | 23 |
/** |
24 | 24 |
* @param type |
25 | 25 |
* @param cause |
26 | 26 |
*/ |
27 |
public CreateBufferException(int type, Throwable cause) {
|
|
27 |
public CreateBufferException(Throwable cause) { |
|
28 | 28 |
super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID); |
29 |
setValue("type", new Integer(type)); |
|
30 | 29 |
} |
31 |
|
|
32 |
/** |
|
33 |
* @param type |
|
34 |
*/ |
|
35 |
public CreateBufferException(int type) { |
|
36 |
this(type, null); |
|
37 |
} |
|
38 |
|
|
39 | 30 |
} |
Also available in: Unified diff