directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r411623 - in /directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar: AbstractGrammar.java IAction.java IGrammar.java
Date Sun, 04 Jun 2006 23:57:10 GMT
Author: elecharny
Date: Sun Jun  4 16:57:10 2006
New Revision: 411623

URL: http://svn.apache.org/viewvc?rev=411623&view=rev
Log:
extended interfaces to throw a Naming exception 

Modified:
    directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
    directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IAction.java
    directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IGrammar.java

Modified: directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java?rev=411623&r1=411622&r2=411623&view=diff
==============================================================================
--- directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
(original)
+++ directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/AbstractGrammar.java
Sun Jun  4 16:57:10 2006
@@ -17,6 +17,8 @@
 package org.apache.directory.shared.asn1.ber.grammar;
 
 
+import javax.naming.NamingException;
+
 import org.apache.directory.shared.asn1.Asn1Object;
 import org.apache.directory.shared.asn1.ber.IAsn1Container;
 import org.apache.directory.shared.asn1.ber.tlv.TLV;
@@ -150,7 +152,7 @@
      * @throws DecoderException
      *             Thrown if anything went wrong
      */
-    public void executeAction( IAsn1Container container ) throws DecoderException
+    public void executeAction( IAsn1Container container ) throws DecoderException, NamingException
     {
 
         int currentState = container.getTransition();

Modified: directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IAction.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IAction.java?rev=411623&r1=411622&r2=411623&view=diff
==============================================================================
--- directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IAction.java
(original)
+++ directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IAction.java
Sun Jun  4 16:57:10 2006
@@ -17,6 +17,8 @@
 package org.apache.directory.shared.asn1.ber.grammar;
 
 
+import javax.naming.NamingException;
+
 import org.apache.directory.shared.asn1.ber.IAsn1Container;
 import org.apache.directory.shared.asn1.codec.DecoderException;
 
@@ -40,5 +42,5 @@
      * @throws DecoderException
      *             Thrown if something went wrong.
      */
-    public void action( IAsn1Container container ) throws DecoderException;
+    public void action( IAsn1Container container ) throws DecoderException, NamingException;
 }

Modified: directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IGrammar.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IGrammar.java?rev=411623&r1=411622&r2=411623&view=diff
==============================================================================
--- directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IGrammar.java
(original)
+++ directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/IGrammar.java
Sun Jun  4 16:57:10 2006
@@ -17,6 +17,8 @@
 package org.apache.directory.shared.asn1.ber.grammar;
 
 
+import javax.naming.NamingException;
+
 import org.apache.directory.shared.asn1.ber.IAsn1Container;
 import org.apache.directory.shared.asn1.codec.DecoderException;
 
@@ -40,7 +42,7 @@
      * @throws DecoderException
      *             Thrown when an unrecoverable error occurs.
      */
-    void executeAction( IAsn1Container asn1Container ) throws DecoderException;
+    void executeAction( IAsn1Container asn1Container ) throws DecoderException, NamingException;
 
 
     /**



Mime
View raw message