ZotCoreLoader
- добавлен сообщения ошибки в 2 местах
This commit is contained in:
@@ -2773,8 +2773,10 @@ public class AdaptedScriptAPI extends API {
|
|||||||
try {
|
try {
|
||||||
return Context.javaToJS(method.invoke(null, (Object[]) _params), parent);
|
return Context.javaToJS(method.invoke(null, (Object[]) _params), parent);
|
||||||
} catch (IllegalAccessException e) {
|
} catch (IllegalAccessException e) {
|
||||||
|
ICLog.i("ERROR", "failed to call required java method class=" + className + " method=" + methodName);
|
||||||
throw new RuntimeException(e.toString());
|
throw new RuntimeException(e.toString());
|
||||||
} catch (InvocationTargetException e) {
|
} catch (InvocationTargetException e) {
|
||||||
|
ICLog.i("ERROR", "failed to call required java method class=" + className + " method=" + methodName);
|
||||||
throw new RuntimeException(e.toString());
|
throw new RuntimeException(e.toString());
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
ICLog.i("ERROR", "failed to call required java method class=" + className + " method=" + methodName);
|
ICLog.i("ERROR", "failed to call required java method class=" + className + " method=" + methodName);
|
||||||
|
|||||||
Reference in New Issue
Block a user