mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Stuff
This commit is contained in:
1 parent
9c4a30d224
commit
666398e480
174 files changed
+8694
-2942
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package com.moulberry.flashback;
|
||||
|
||||
public class SneakyThrow {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <E extends Throwable> RuntimeException sneakyThrow(Throwable e) throws E {
|
||||
throw (E) e;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user