mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
20 lines
534 B
Java
20 lines
534 B
Java
|
package java.lang;
|
||
|
|
||
|
/**
|
||
|
* Used by <code>String</code> to signal that a given index is either less than
|
||
|
* or greater than the allowed range.
|
||
|
*/
|
||
|
public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
|
||
|
private static final long serialVersionUID = -6762910422159637258L;
|
||
|
|
||
|
public StringIndexOutOfBoundsException(int index) {
|
||
|
super("String index out of range: "+index);
|
||
|
}
|
||
|
|
||
|
public StringIndexOutOfBoundsException(String message) {
|
||
|
super(message);
|
||
|
}
|
||
|
|
||
|
public StringIndexOutOfBoundsException() {}
|
||
|
}
|