working reflection

This commit is contained in:
Joel Dice
2007-07-23 21:16:59 -06:00
parent 5f3bf175e0
commit 823d764998
8 changed files with 116 additions and 80 deletions

View File

@ -101,7 +101,8 @@ public final class String implements Comparable<String> {
return new String(data, offset + start, end - start, false);
}
} else {
throw new IndexOutOfBoundsException();
throw new IndexOutOfBoundsException
(start + " not in (0, " + end + ") or " + end + " > " + length);
}
}