Statistics
| Revision:

root / branches / dal_time_support / libraries / libFMap_dal / src / org / gvsig / fmap / dal / exception / CreateException.java @ 35970

History | View | Annotate | Download (644 Bytes)

1 24505 jmvivo
package org.gvsig.fmap.dal.exception;
2 23871 jjdelcerro
3
public class CreateException extends DataException {
4
5
        /**
6
         *
7
         */
8
        private static final long serialVersionUID = 9186224366705822305L;
9 24568 jmvivo
        private final static String MESSAGE_FORMAT = "Exception creating '%(resource)'.";
10 23871 jjdelcerro
        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 35970 jpiera
        protected CreateException(String messageFormat, String messageKey,
18
                        long serialversionuid2) {
19
                super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
20
        }
21
22
23 23871 jjdelcerro
}