Add InstantiationException

This commit is contained in:
LoveSy 2023-01-24 18:22:10 +08:00
parent a026708a35
commit 50619e84ec
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf
@Nullable @Nullable
@Override @Override
public <T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object[] args) throws InvocationTargetException, IllegalAccessException { public <T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object[] args) throws InvocationTargetException, IllegalAccessException, InstantiationException {
return getBaseContext().newInstanceOrigin(constructor, args); return getBaseContext().newInstanceOrigin(constructor, args);
} }

View File

@ -549,7 +549,7 @@ public interface XposedInterface {
* @throws IllegalAccessException the illegal access exception * @throws IllegalAccessException the illegal access exception
*/ */
@Nullable @Nullable
<T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object[] args) throws InvocationTargetException, IllegalAccessException; <T> T newInstanceOrigin(@NonNull Constructor<T> constructor, Object[] args) throws InvocationTargetException, IllegalAccessException, InstantiationException;
/** /**
* Log. * Log.