Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 52831 invoked from network); 4 Jun 2006 23:57:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jun 2006 23:57:49 -0000 Received: (qmail 18629 invoked by uid 500); 4 Jun 2006 23:57:48 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 18596 invoked by uid 500); 4 Jun 2006 23:57:48 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 18585 invoked by uid 99); 4 Jun 2006 23:57:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2006 16:57:48 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2006 16:57:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9D35A1A9842; Sun, 4 Jun 2006 16:57:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060604235727.9D35A1A9842@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 { /*