Statistics
| Revision:

svn-gvsig-desktop / tags / J2ME_compat_v1_2_Build_1209 / libraries / libFMap / src / com / iver / cit / gvsig / exceptions / expansionfile / ExpansionFileException.java @ 19509

History | View | Annotate | Download (731 Bytes)

1
package com.iver.cit.gvsig.exceptions.expansionfile;
2

    
3
import java.util.Hashtable;
4
import java.util.Map;
5

    
6
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
7
/**
8
 * @author Vicente Caballero Navarro
9
 */
10
public class ExpansionFileException extends ReadDriverException{
11

    
12
        private String file = null;
13

    
14
        public ExpansionFileException(String file,Throwable exception) {
15
                super(file, exception);
16
                this.file = file;
17
                init();
18
                initCause(exception);
19
        }
20

    
21
        private void init() {
22
                messageKey = "error_expansion_file";
23
                formatString = "Can?t read the expansion file: %(file) ";
24
        }
25

    
26
        protected Map values() {
27
                Hashtable params = new Hashtable();
28
                params.put("file",file);
29
                return params;
30
        }
31
}