Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / exceptions / LoadException.java @ 23947

History | View | Annotate | Download (456 Bytes)

1
package org.gvsig.fmap.data.exceptions;
2

    
3
public class LoadException extends DataException {
4

    
5
        /**
6
         *
7
         */
8
        private static final long serialVersionUID = 1L;
9
        private final static String MESSAGE_FORMAT = "Can't load '%(resource)s'.";
10
        private final static String MESSAGE_KEY = "_OpenException";
11

    
12
        public LoadException(Throwable cause, String resource) {
13
                super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID);
14
                setValue("resource", resource);
15
        }
16

    
17
}