directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r437685 - /directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/abandon/AbandonRequestGrammar.java
Date Mon, 28 Aug 2006 12:22:14 GMT
Author: elecharny
Date: Mon Aug 28 05:22:13 2006
New Revision: 437685

URL: http://svn.apache.org/viewvc?rev=437685&view=rev
Log:
Added some comment for generated exceptions

Modified:
    directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/abandon/AbandonRequestGrammar.java

Modified: directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/abandon/AbandonRequestGrammar.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/abandon/AbandonRequestGrammar.java?rev=437685&r1=437684&r2=437685&view=diff
==============================================================================
--- directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/abandon/AbandonRequestGrammar.java
(original)
+++ directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/abandon/AbandonRequestGrammar.java
Mon Aug 28 05:22:13 2006
@@ -113,6 +113,8 @@
                     {
                         String msg = "The AbandonRequest messageId must not be null";
                         log.error( msg );
+
+                        // This will generate a PROTOCOL_ERROR
                         throw new DecoderException( msg );
                     }
 
@@ -143,6 +145,7 @@
                                 "The Abandonned Message Id {} is invalid : {}. The message
ID must be between (0 .. 2 147 483 647)",
                                 StringTools.dumpBytes( value.getData() ), ide.getMessage()
);
 
+                        // This will generate a PROTOCOL_ERROR
                         throw new DecoderException( ide.getMessage() );
                     }
                 }



Mime
View raw message