Polishing

This commit is contained in:
Sam Brannen
2023-03-13 21:16:02 +01:00
parent 9cf7b0e230
commit b617e16d8d
10 changed files with 22 additions and 34 deletions

View File

@@ -17,8 +17,8 @@
package org.springframework.cache.aspectj;
/**
* Utility to trick the compiler to throw a valid checked
* exceptions within the interceptor.
* Utility to trick the compiler to throw valid checked exceptions masked as
* runtime exceptions within the interceptor.
*
* @author Stephane Nicoll
*/
@@ -36,4 +36,5 @@ final class AnyThrow {
private static <E extends Throwable> void throwAny(Throwable e) throws E {
throw (E) e;
}
}