mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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);
|
this(null, cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ArrayIndexOutOfBoundsException(int idx) {
|
||||||
|
this("Array index out of range: " + idx);
|
||||||
|
}
|
||||||
|
|
||||||
public ArrayIndexOutOfBoundsException() {
|
public ArrayIndexOutOfBoundsException() {
|
||||||
this(null, null);
|
this(null, null);
|
||||||
}
|
}
|
||||||
|
@ -25,4 +25,9 @@ public class ClassNotFoundException extends Exception {
|
|||||||
public ClassNotFoundException() {
|
public ClassNotFoundException() {
|
||||||
this(null, null);
|
this(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Throwable getException() {
|
||||||
|
return cause2;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user