diff options
author | Brian de Alwis | 2012-03-23 14:37:17 +0000 |
---|---|---|
committer | Oleg Besedin | 2012-03-23 14:37:17 +0000 |
commit | 91d8e7e5f8d3f7813ad0ae420a54b14b2f4c7b2a (patch) | |
tree | 18c14847c55b027d94287304952bb4c2cb791339 | |
parent | cff71eaf108769ede4388d536351361e28c50212 (diff) | |
download | eclipse.platform.runtime-91d8e7e5f8d3f7813ad0ae420a54b14b2f4c7b2a.tar.gz eclipse.platform.runtime-91d8e7e5f8d3f7813ad0ae420a54b14b2f4c7b2a.tar.xz eclipse.platform.runtime-91d8e7e5f8d3f7813ad0ae420a54b14b2f4c7b2a.zip |
Bug 375175 - Minor improvements for E4 DI debuggingv20120323-1437N20120417-1307N20120416-1918I20120417-1000I20120417-0800I20120417-0334I20120417-0255I20120417-0235I20120417-0211I20120417-0142I20120416-2327I20120416-1738I20120416-1719I20120416-1643I20120416-1623I20120416-1600I20120416-1508I20120413-1800I20120411-2034I20120411-1737I20120411-0906I20120411-0258I20120410-2330I20120410-2037I20120410-1710I20120410-0633I20120410-0320I20120410-0304I20120410-0252I20120410-0238I20120410-0216I20120410-0152I20120410-0136I20120410-0122I20120410-0102I20120410-0049I20120410-0027I20120409-2358I20120409-2119I20120409-2018I20120409-1957I20120409-1911I20120409-1708I20120409-1622I20120409-1353I20120409-0926I20120409-0904I20120409-0315I20120409-0131I20120408-2304I20120408-2000I20120408-1521I20120408-1324I20120408-1214I20120408-1110I20120408-0330I20120408-0246I20120408-0231I20120408-0216I20120408-0152I20120408-0036I20120408-0012I20120407-2339I20120407-2245I20120407-2106I20120407-1941I20120407-1904I20120407-1840I20120407-1826I20120407-1732I20120407-1717I20120407-1631I20120407-0358I20120407-0346I20120407-0329I20120407-0305I20120407-0217I20120407-0205I20120407-0138I20120407-0103I20120407-0040I20120407-0024I20120406-2327I20120406-0935I20120406-0915I20120406-0250I20120406-0231I20120406-0006I20120405-2131I20120405-1735I20120405-1114I20120405-0114I20120404-2228I20120404-2006I20120404-1351I20120404-0051I20120403-2231I20120328-2028I20120328-2020I20120328-2007I20120328-1956
-rw-r--r-- | bundles/org.eclipse.e4.core.di/build.properties | 3 | ||||
-rw-r--r-- | bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/internal/di/InjectorImpl.java | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.e4.core.di/build.properties b/bundles/org.eclipse.e4.core.di/build.properties index 2b112c461..c335cc2a5 100644 --- a/bundles/org.eclipse.e4.core.di/build.properties +++ b/bundles/org.eclipse.e4.core.di/build.properties @@ -3,5 +3,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.properties,\ - about.html + about.html,\ + .options src.includes = about.html diff --git a/bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/internal/di/InjectorImpl.java b/bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/internal/di/InjectorImpl.java index ea130ad7a..7eac2f46e 100644 --- a/bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/internal/di/InjectorImpl.java +++ b/bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/internal/di/InjectorImpl.java @@ -385,7 +385,11 @@ public class InjectorImpl implements IInjector { } private void reportUnresolvedArgument(Requestor requestor, int argIndex) { - throw new InjectionException(resolutionError(requestor, argIndex)); + String msg = resolutionError(requestor, argIndex); + if (shouldDebug) { + LogHelper.logError(msg, null); + } + throw new InjectionException(msg); } private String resolutionError(Requestor requestor, int argIndex) { |