Revision 827 org.gvsig.proj/branches/refactor2018/org.gvsig.proj/org.gvsig.proj.catalog/org.gvsig.proj.catalog.api/src/main/java/org/gvsig/proj/catalog/exception/TransformationException.java
TransformationException.java | ||
---|---|---|
32 | 32 |
public class TransformationException extends |
33 | 33 |
CoordinateReferenceSystemException { |
34 | 34 |
|
35 |
private static final long serialVersionUID = -2896079619829560891L;
|
|
35 |
private static final long serialVersionUID = 5016369984899718541L;
|
|
36 | 36 |
|
37 | 37 |
private static final String MESSAGE = |
38 | 38 |
"Error in transformation with code: %(code)"; |
... | ... | |
49 | 49 |
super(MESSAGE, KEY, serialVersionUID); |
50 | 50 |
setValue("code", code); |
51 | 51 |
} |
52 |
|
|
53 |
/** |
|
54 |
* Creates a new {@link TransformationException}. |
|
55 |
* |
|
56 |
* @param cause |
|
57 |
* the original cause |
|
58 |
*/ |
|
59 |
public TransformationException() { |
|
60 |
super(MESSAGE, KEY, serialVersionUID); |
|
61 |
setValue("code", "n/a"); |
|
62 |
} |
|
63 |
|
|
64 |
/** |
|
65 |
* @see BaseException#BaseException(String, String, long). |
|
66 |
* @param message |
|
67 |
* the default messageFormat to describe the exception |
|
68 |
* @param key |
|
69 |
* the key to use to search a localized messageFormnata |
|
70 |
* @param code |
|
71 |
* the unique code to identify the exception |
|
72 |
*/ |
|
73 |
protected TransformationException(String message, String key, |
|
74 |
long code) { |
|
75 |
super(message, key, code); |
|
76 |
} |
|
52 | 77 |
|
78 |
|
|
53 | 79 |
/** |
54 | 80 |
* Creates a new {@link TransformationException}. |
55 | 81 |
* |
... | ... | |
60 | 86 |
super(MESSAGE, cause, KEY, serialVersionUID); |
61 | 87 |
setValue("code", code); |
62 | 88 |
} |
89 |
|
|
90 |
/** |
|
91 |
* @see BaseException#BaseException(String, Throwable, String, long). |
|
92 |
* @param message |
|
93 |
* the default messageFormat to describe the exception |
|
94 |
* @param cause |
|
95 |
* the original cause of the exception |
|
96 |
* @param key |
|
97 |
* the key to use to search a localized messageFormnata |
|
98 |
* @param code |
|
99 |
* the unique code to identify the exception |
|
100 |
*/ |
|
101 |
protected TransformationException(String message, |
|
102 |
Throwable cause, String key, long code) { |
|
103 |
super(message, cause, key, code); |
|
104 |
} |
|
63 | 105 |
} |
Also available in: Unified diff