mirror of
https://github.com/corda/corda.git
synced 2025-06-12 04:08:26 +00:00
Add ArrayIndexOutOfBoundsException(int) and ClassNotFoundException.getException().
This commit is contained in:
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user