Add InstantiationException
This commit is contained in:
parent
a026708a35
commit
50619e84ec
|
|
@ -222,7 +222,7 @@ public class XposedContextWrapper extends ContextWrapper implements XposedInterf
|
|||
|
||||
@Nullable
|
||||
@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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ public interface XposedInterface {
|
|||
* @throws IllegalAccessException the illegal access exception
|
||||
*/
|
||||
@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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue