Revision 33030 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/MapContextRuntimeException.java
MapContextRuntimeException.java | ||
---|---|---|
34 | 34 |
* |
35 | 35 |
* @author <a href="mailto:cordinyana@gvsig.org">C?sar Ordi?ana</a> |
36 | 36 |
*/ |
37 |
public abstract class MapContextRuntimeException extends BaseRuntimeException {
|
|
37 |
public class MapContextRuntimeException extends BaseRuntimeException { |
|
38 | 38 |
|
39 | 39 |
private static final long serialVersionUID = 3993964182701795153L; |
40 | 40 |
|
41 | 41 |
/** |
42 | 42 |
* @see BaseException#BaseException(String, String, long) |
43 | 43 |
*/ |
44 |
public MapContextRuntimeException(String message, String key, long code) {
|
|
45 |
super(message, key, code); |
|
44 |
protected MapContextRuntimeException(String message, String key, long code) {
|
|
45 |
super(message, null, key, code);
|
|
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
/** |
49 | 49 |
* @see BaseException#BaseException(String, Throwable, String, long) |
50 | 50 |
*/ |
51 |
public MapContextRuntimeException(String message, Throwable cause, String key,
|
|
51 |
protected MapContextRuntimeException(String message, Throwable cause, String key,
|
|
52 | 52 |
long code) { |
53 | 53 |
super(message, cause, key, code); |
54 | 54 |
} |
55 |
|
|
55 |
|
|
56 |
public MapContextRuntimeException(Throwable cause) { |
|
57 |
this( |
|
58 |
"MapContext related error", |
|
59 |
cause, |
|
60 |
"_MapContext_related_error", |
|
61 |
serialVersionUID |
|
62 |
); |
|
63 |
} |
|
56 | 64 |
} |
Also available in: Unified diff