Revision 14711 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/XMLException.java
XMLException.java | ||
---|---|---|
51 | 51 |
* @author Vicente Caballero Navarro |
52 | 52 |
*/ |
53 | 53 |
public class XMLException extends BaseException { |
54 |
/** |
|
55 |
* Crea un nuevo XMLException. |
|
56 |
* |
|
57 |
* @param e DOCUMENT ME! |
|
58 |
*/ |
|
59 |
public XMLException(String s, Exception e) { |
|
60 |
this.initCause(e); |
|
61 |
super.setFormatString(s); |
|
54 |
|
|
55 |
public XMLException(Throwable e) { |
|
56 |
init(); |
|
57 |
initCause(e); |
|
62 | 58 |
} |
63 |
|
|
64 |
/** |
|
65 |
* Crea un nuevo XMLException. |
|
66 |
* |
|
67 |
* @param e DOCUMENT ME! |
|
68 |
*/ |
|
69 |
public XMLException(Exception e) { |
|
70 |
this.initCause(e); |
|
59 |
|
|
60 |
private void init() { |
|
61 |
messageKey = "exception_loading_or_creating_a_xml"; |
|
62 |
formatString = "Exception loading or creating a xml"; |
|
71 | 63 |
} |
72 | 64 |
|
73 | 65 |
protected Map values() { |
74 |
// TODO Auto-generated method stub |
|
75 | 66 |
return null; |
76 | 67 |
} |
77 | 68 |
} |
Also available in: Unified diff