You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going to assume this is a decompiler issue, in which this is a 3rd party problem where the decompiler is not adding the thrown type to the method signature.
Describe the bug
When you try to recompile a class that contains methods that rethrow to the caller an Exception, it generate the error:
unreported exception <ExceptionClass>; must be caught or declared to be thrown
The workaround is to modify manually the method declaration, by adding the throws instruction:
public static Type MethodName(Parameters) throws ExceptionClass {
The text was updated successfully, but these errors were encountered: