1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
package jsr166y; |
491 |
|
if (e == null || (ex = e.ex) == null) |
492 |
|
return null; |
493 |
|
if (e.thrower != Thread.currentThread().getId()) { |
494 |
< |
Class ec = ex.getClass(); |
494 |
> |
Class<? extends Throwable> ec = ex.getClass(); |
495 |
|
try { |
496 |
|
Constructor<?> noArgCtor = null; |
497 |
|
Constructor<?>[] cs = ec.getConstructors();// public ctors only |