Improve error handling

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@963396 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java b/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java
index 240e7d0..daf992e 100644
--- a/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java
+++ b/ipojo/webconsole-plugin/src/main/java/org/apache/felix/ipojo/webconsole/IPOJOPlugin.java
@@ -270,7 +270,7 @@
         }
         
         if (factory == null) {
-            // TODO Error management
+            pw.println("The factory " + name + " does not exist or is private");
             System.err.println("factory " + name + "  not found");
             return;
         }
@@ -353,7 +353,7 @@
         }
         
         if (instance == null) {
-            // TODO Error management
+            pw.println("The instance " + name + " does not exist or does not exposed its architecture");
             System.err.println("instance " + name + "  not found");
             return;
         }