Author: jflesch
Date: 2007-05-21 11:01:06 +0000 (Mon, 21 May 2007)
New Revision: 13290
Modified:
trunk/apps/Thaw/src/thaw/core/Core.java
Log:
Manage the ProtocolError messages with Code=8 => ask the user if DDA must be
disable
Modified: trunk/apps/Thaw/src/thaw/core/Core.java
===================================================================
--- trunk/apps/Thaw/src/thaw/core/Core.java 2007-05-21 01:13:21 UTC (rev
13289)
+++ trunk/apps/Thaw/src/thaw/core/Core.java 2007-05-21 11:01:06 UTC (rev
13290)
@@ -684,7 +684,8 @@
if ("ProtocolError".equals(m.getMessageName())) {
int code = Integer.parseInt(m.getValue("Code"));
- if (code == 9 /* File not found */
+ if (code == 8 /* Invalid field (?!) */
+ || code == 9 /* File not found */
|| code == 10 /* Disk target exists */
|| code == 12 /* Couldn't create file */
|| code == 13 /* Couldn't write file */