Add InstantiationException
This commit is contained in:
parent
a026708a35
commit
50619e84ec
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue