Author: saces
Date: 2009-04-15 20:35:42 +0000 (Wed, 15 Apr 2009)
New Revision: 26855

Modified:
   trunk/freenet/src/freenet/node/fcp/FCPPluginMessage.java
Log:
include identifier in error message

Modified: trunk/freenet/src/freenet/node/fcp/FCPPluginMessage.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPPluginMessage.java    2009-04-15 
20:13:50 UTC (rev 26854)
+++ trunk/freenet/src/freenet/node/fcp/FCPPluginMessage.java    2009-04-15 
20:35:42 UTC (rev 26855)
@@ -47,7 +47,7 @@
                        throw new 
MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "FCPPluginMessage 
must contain a Identifier field", null, false);
                pluginname = fs.get("PluginName");
                if(pluginname == null)
-                       throw new 
MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "FCPPluginMessage 
must contain a PluginName field", null, false);
+                       throw new 
MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "FCPPluginMessage 
must contain a PluginName field", identifier, false);
                
                boolean havedata = "Data".equals(fs.getEndMarker());
                
@@ -113,6 +113,7 @@
 
        }
 
+       @Override
        public void removeFrom(ObjectContainer container) {
                throw new UnsupportedOperationException();
        }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to