directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1034208 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
Date Thu, 11 Nov 2010 23:34:51 GMT
Author: elecharny
Date: Thu Nov 11 23:34:50 2010
New Revision: 1034208

URL: http://svn.apache.org/viewvc?rev=1034208&view=rev
Log:
Replaced the error message for a DecoderException by a better one.

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java?rev=1034208&r1=1034207&r2=1034208&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
Thu Nov 11 23:34:50 2010
@@ -124,7 +124,7 @@ public abstract class AbstractGrammar im
 
             // If we have no more grammar on the stack, then this is an
             // error
-            throw new DecoderException( I18n.err( I18n.ERR_00002_BAD_TRANSITION ) );
+            throw new DecoderException( errorMessage );
         }
 
         if ( IS_DEBUG )



Mime
View raw message