root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / exceptions / CreateException.java @ 24496
History | View | Annotate | Download (487 Bytes)
1 | 24496 | jmvivo | package org.gvsig.fmap.dal.exceptions; |
---|---|---|---|
2 | 23871 | jjdelcerro | |
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)s'."; |
||
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 | } |