Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / exceptions / expansionfile / ExpansionFileException.java @ 10627

History | View | Annotate | Download (646 Bytes)

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

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

    
6
import org.gvsig.exceptions.BaseException;
7
/**
8
 * @author Vicente Caballero Navarro
9
 */
10
public class ExpansionFileException extends BaseException{
11

    
12
        private String file = null;
13

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

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

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