svn-gvsig-desktop / tags / dal_time_support_Build_1 / libraries / libFMap_dal / libFMap_dal / src / org / gvsig / fmap / dal / exception / CreateException.java @ 36109
History | View | Annotate | Download (644 Bytes)
1 |
package org.gvsig.fmap.dal.exception; |
---|---|
2 |
|
3 |
public class CreateException extends DataException { |
4 |
|
5 |
/**
|
6 |
*
|
7 |
*/
|
8 |
private static final long serialVersionUID = 9186224366705822305L; |
9 |
private final static String MESSAGE_FORMAT = "Exception creating '%(resource)'."; |
10 |
private final static String MESSAGE_KEY = "_CreateException"; |
11 |
|
12 |
public CreateException(String resource, Throwable cause) { |
13 |
super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID);
|
14 |
setValue("resource", resource);
|
15 |
} |
16 |
|
17 |
protected CreateException(String messageFormat, String messageKey, |
18 |
long serialversionuid2) {
|
19 |
super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
20 |
} |
21 |
|
22 |
|
23 |
} |