
|
If you were logged in you would be able to see more operations.
|
|
|
|
The following code is missing an else clause that would rethrow unclassified throwable as RetryException perhaps:
private static void unwrapAndThrow(Throwable ex) throws Exception {
if (ex instanceof Exception) {
throw (Exception) ex;
}
else if (ex instanceof Error) {
throw (Error) ex;
}
}
|
|
Description
|
The following code is missing an else clause that would rethrow unclassified throwable as RetryException perhaps:
private static void unwrapAndThrow(Throwable ex) throws Exception {
if (ex instanceof Exception) {
throw (Exception) ex;
}
else if (ex instanceof Error) {
throw (Error) ex;
}
}
|
Show » |
|