mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Add ArrayIndexOutOfBoundsException(int) and ClassNotFoundException.getException().
This commit is contained in:
parent
21e6bd8598
commit
6462c159aa
@ -23,6 +23,10 @@ public class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
|
||||
this(null, cause);
|
||||
}
|
||||
|
||||
public ArrayIndexOutOfBoundsException(int idx) {
|
||||
this("Array index out of range: " + idx);
|
||||
}
|
||||
|
||||
public ArrayIndexOutOfBoundsException() {
|
||||
this(null, null);
|
||||
}
|
||||
|
@ -25,4 +25,9 @@ public class ClassNotFoundException extends Exception {
|
||||
public ClassNotFoundException() {
|
||||
this(null, null);
|
||||
}
|
||||
|
||||
public Throwable getException() {
|
||||
return cause2;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user