Convert most packages to use LazyReactPackage

Reviewed By: astreet

Differential Revision: D3334261

fbshipit-source-id: 8533e3dd9395ffb2fd8c9b71a0d352fe475d1cb9
This commit is contained in:
Aaron Chiu
2016-08-11 08:53:56 -07:00
committed by Facebook Github Bot 7
parent 96e41218ed
commit 541eaef4be
4 changed files with 244 additions and 64 deletions

View File

@@ -40,7 +40,7 @@ public class ModuleSpec {
try {
return getConstructor(type, EMPTY_SIGNATURE).newInstance();
} catch (Exception e) {
throw new RuntimeException(e);
throw new RuntimeException("ModuleSpec with class: " + type.getName(), e);
}
}
});
@@ -58,7 +58,7 @@ public class ModuleSpec {
try {
return getConstructor(type, CONTEXT_SIGNATURE).newInstance(context);
} catch (Exception e) {
throw new RuntimeException(e);
throw new RuntimeException("ModuleSpec with class: " + type.getName(), e);
}
}
});