directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r411624 - /directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
Date Sun, 04 Jun 2006 23:57:27 GMT
Author: elecharny
Date: Sun Jun  4 16:57:26 2006
New Revision: 411624

URL: http://svn.apache.org/viewvc?rev=411624&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/Asn1Decoder.java

Modified: directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java?rev=411624&r1=411623&r2=411624&view=diff
==============================================================================
--- directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
(original)
+++ directory/branches/shared/optimization/asn1/src/main/java/org/apache/directory/shared/asn1/ber/Asn1Decoder.java
Sun Jun  4 16:57:26 2006
@@ -32,6 +32,8 @@
 
 import java.nio.ByteBuffer;
 
+import javax.naming.NamingException;
+
 
 /**
  * A BER TLV Tag component decoder. This decoder instanciate a Tag. The tag
@@ -296,7 +298,7 @@
      * @throws DecoderException
      *             Thrown if anything went wrong
      */
-    private void treatTagEndState( IAsn1Container container ) throws DecoderException
+    private void treatTagEndState( IAsn1Container container ) throws DecoderException, NamingException
     {
 
         if ( log.isDebugEnabled() )
@@ -738,7 +740,7 @@
      * @throws DecoderException
      *             Thrown if anything went wrong
      */
-    private boolean treatTLVDoneState( ByteBuffer stream, IAsn1Container container ) throws
DecoderException
+    private boolean treatTLVDoneState( ByteBuffer stream, IAsn1Container container ) throws
DecoderException, NamingException
     {
         if ( log.isDebugEnabled() )
         {
@@ -845,7 +847,7 @@
      * @throws DecoderException
      *             Thrown if anything went wrong!
      */
-    public void decode( ByteBuffer stream, IAsn1Container container ) throws DecoderException
+    public void decode( ByteBuffer stream, IAsn1Container container ) throws DecoderException,
NamingException
     {
 
         /*



Mime
View raw message