Bug 85169 [Commands] errors: Not enough context in error message
Build: I20050214-0927 I found this message in my log after starting this build: !ENTRY org.eclipse.jface 4 0 2005-02-14 13:05:34.971 !MESSAGE The command is undefined What command? This error message needs more information. This message comes from ExternalActionManager#isActive.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ExternalActionManager.java
/**
		 * Constructs a new instance of <code>CommandCallback</code> with the
		 * workbench it should be using.
		 * 
		 * @param bindingManager
		 *            The binding manager which will provide the callback; must
		 *            not be <code>null</code>.
		 * @param commandManager
		 *            The command manager which will provide the callback; must
		 *            not be <code>null</code>.
		 * @param activeChecker
		 *            The callback mechanism for checking whether a command is
		 *            active; must not be <code>null</code>.
		 */
		public CommandCallback(final BindingManager bindingManager,
				final CommandManager commandManager,
				final IActiveChecker activeChecker) {
			if (bindingManager == null) {
				throw new NullPointerException(
						"The callback needs a binding manager"); 
			}
			if (commandManager == null) {
				throw new NullPointerException(
						"The callback needs a command manager"); 
			}
			if (activeChecker == null) {
				throw new NullPointerException(
						"The callback needs an active callback"); 
			}
			this.activeChecker = activeChecker;