Revision 3018 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.dynform/org.gvsig.tools.dynform.services/src/main/java/org/gvsig/tools/dynform/services/dynformset/base/BaseJDynFormSet.java
BaseJDynFormSet.java | ||
---|---|---|
812 | 812 |
@Override |
813 | 813 |
public void setCurrentIndex(int index) { |
814 | 814 |
if (index < 0 || index > countValues()) { |
815 |
throw new IllegalArgumentException("Index (" + index + ") out of range [0.." + countValues() + "].");
|
|
815 |
throw new IndexOutOfBoundsException("Index (" + index + ") out of range [0.." + countValues() + "].");
|
|
816 | 816 |
} |
817 | 817 |
// Don't call doActionSave, crash with stack overflow |
818 | 818 |
this.current = index; |
Also available in: Unified diff