gvsig-projects-pool / org.gvsig.vcsgis / trunk / org.gvsig.vcsgis / org.gvsig.vcsgis.lib / org.gvsig.vcsgis.lib.api / src / main / java / org / gvsig / vcsgis / lib / VCSGisRuntimeException.java @ 2697
History | View | Annotate | Download (494 Bytes)
1 |
package org.gvsig.vcsgis.lib; |
---|---|
2 |
|
3 |
/**
|
4 |
*
|
5 |
* @author gvSIG Team
|
6 |
*/
|
7 |
public class VCSGisRuntimeException extends RuntimeException { |
8 |
|
9 |
private final int errnum; |
10 |
|
11 |
public VCSGisRuntimeException(int errnum, String msg, Throwable cause) { |
12 |
super(msg, cause);
|
13 |
this.errnum = errnum;
|
14 |
} |
15 |
|
16 |
public VCSGisRuntimeException(int errnum, String msg) { |
17 |
super(msg);
|
18 |
this.errnum = errnum;
|
19 |
} |
20 |
|
21 |
public int getErrnum() { |
22 |
return this.errnum; |
23 |
} |
24 |
} |