svn-gvsig-desktop / tags / v1_1_Build_1010 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / drivers / DBException.java @ 12804
History | View | Annotate | Download (337 Bytes)
1 |
package com.iver.cit.gvsig.fmap.drivers; |
---|---|
2 |
|
3 |
|
4 |
public class DBException extends Exception { |
5 |
private Exception e; |
6 |
public DBException(Exception e) { |
7 |
this.e=e;
|
8 |
} |
9 |
public Throwable getCause() { |
10 |
return e.getCause();
|
11 |
} |
12 |
public String getMessage() { |
13 |
return e.getMessage();
|
14 |
} |
15 |
public void printStackTrace() { |
16 |
e.printStackTrace(); |
17 |
} |
18 |
|
19 |
} |