Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / exceptions / table / TableEditingException.java @ 10627

History | View | Annotate | Download (624 Bytes)

1
package com.iver.cit.gvsig.exceptions.table;
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 TableEditingException extends BaseException{
11
        private String table;
12
        public TableEditingException(String table,Throwable exception) {
13
                this.table = table;
14
                init();
15
                initCause(exception);
16
        }
17

    
18
        private void init() {
19
                messageKey = "error_editing_table";
20
                formatString = "Can?t edit the table: %(table) ";
21
        }
22

    
23
        protected Map values() {
24
                Hashtable params = new Hashtable();
25
                params.put("table",table);
26
                return params;
27
        }
28
}