svn-gvsig-desktop / trunk / libraries / libDataSource / src / org / gvsig / data / exception / OpenException.java @ 20112
History | View | Annotate | Download (601 Bytes)
1 |
package org.gvsig.data.exception; |
---|---|
2 |
|
3 |
|
4 |
public class OpenException extends InitializeException { |
5 |
public OpenException(String name,Throwable exception) { |
6 |
super("Open Error",name,exception); |
7 |
init(); |
8 |
} |
9 |
|
10 |
public OpenException(String description,String name,Throwable exception) { |
11 |
super(description,name,exception);
|
12 |
init(); |
13 |
} |
14 |
|
15 |
public OpenException(String description,String name) { |
16 |
super(description,name);
|
17 |
init(); |
18 |
} |
19 |
/**
|
20 |
*
|
21 |
*/
|
22 |
protected void init() { |
23 |
super.init();
|
24 |
messageKey = "error_open";
|
25 |
formatString = "Can?t open %(name): %(description) ";
|
26 |
} |
27 |
|
28 |
|
29 |
} |