Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / exceptions / CreateException.java @ 23871

History | View | Annotate | Download (488 Bytes)

1
package org.gvsig.fmap.data.exceptions;
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)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
}