Author: zothar
Date: 2007-04-22 21:45:17 +0000 (Sun, 22 Apr 2007)
New Revision: 12876
Modified:
trunk/freenet/src/freenet/node/fcp/ProtocolErrorMessage.java
Log:
Add codeDescriptions for the ProtocolErrors added in r12875
Modified: trunk/freenet/src/freenet/node/fcp/ProtocolErrorMessage.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ProtocolErrorMessage.java
2007-04-22 21:39:07 UTC (rev 12875)
+++ trunk/freenet/src/freenet/node/fcp/ProtocolErrorMessage.java
2007-04-22 21:45:17 UTC (rev 12876)
@@ -108,10 +108,16 @@
return "Filepath is not a file";
case ACCESS_DENIED:
return "Access denied";
+ case DIRECT_DISK_ACCESS_DENIED:
+ return "Direct Disk Access operation denied: did you
send a FileHash field ? Did you use TestDDA?";
case COULD_NOT_READ_FILE:
return "Could not read file";
- case DIRECT_DISK_ACCESS_DENIED:
- return "Direct Disk Access operation denied: did you
send a FileHash field ? Did you use TestDDA?";
+ case REF_SIGNATURE_INVALID:
+ return "Reference signature failed to verify";
+ case CANNOT_PEER_WITH_SELF:
+ return "Node cannot peer with itself";
+ case DUPLICATE_PEER_REF:
+ return "Node already a peer with that ref";
default:
Logger.error(this, "Unknown error code: "+code, new
Exception("debug"));
return "(Unknown)";