Revision 47761 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/exception/FeatureIndexException.java
FeatureIndexException.java | ||
---|---|---|
45 | 45 |
public FeatureIndexException(Exception e) { |
46 | 46 |
this(FORMAT_STRING, e, MESSAGE_KEY, serialVersionUID); |
47 | 47 |
} |
48 |
|
|
49 |
public IndexOutOfBoundsException getIndexOutOfBoundsException() { |
|
50 |
if(this.getCause() instanceof IndexOutOfBoundsException){ |
|
51 |
return (IndexOutOfBoundsException) this.getCause(); |
|
52 |
} |
|
53 |
IndexOutOfBoundsException x = new IndexOutOfBoundsException(); |
|
54 |
x.initCause(this); |
|
55 |
return x; |
|
56 |
} |
|
48 | 57 |
|
49 | 58 |
/** |
50 | 59 |
* @see DataException#DataException(String, String, long) |
Also available in: Unified diff