directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r234380 - in /directory/asn1/branches/asn1-new-ber/ber-new: ./ src/java/main/org/apache/asn1new/ src/java/main/org/apache/asn1new/ber/ src/java/main/org/apache/asn1new/ber/grammar/ src/java/main/org/apache/asn1new/ber/tlv/ src/java/main/org...
Date Sun, 21 Aug 2005 22:37:02 GMT
Author: elecharny
Date: Sun Aug 21 15:36:47 2005
New Revision: 234380

URL: http://svn.apache.org/viewcvs?rev=234380&view=rev
Log:
- Deleted the EncoderException and DecoderException
- Modified project.xml to add a dep on asn1-codec

Removed:
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/EncoderException.java
Modified:
    directory/asn1/branches/asn1-new-ber/ber-new/project.xml
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/Asn1Object.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/Asn1Decoder.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/AbstractGrammar.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IAction.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IGrammar.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/ITLVBerDecoderMBean.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/Value.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/BitString.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/OID.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/util/IntegerDecoder.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/BitStringTest.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/OIDTest.java
    directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/PrimitivesTest.java

Modified: directory/asn1/branches/asn1-new-ber/ber-new/project.xml
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/project.xml?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/project.xml (original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/project.xml Sun Aug 21 15:36:47 2005
@@ -18,5 +18,14 @@
     <inceptionYear>2005</inceptionYear>
     <shortDescription>ASN.1 new BER Runtime</shortDescription>
     <description>A new BER implementation</description>
+
+  <dependencies>
+    <!-- deps in group -->
+    <dependency>
+      <groupId>${pom.groupId}</groupId>
+      <artifactId>asn1-codec</artifactId>
+      <version>${pom.currentVersion}</version>
+    </dependency>
+  </dependencies>
 </project>
 

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/Asn1Object.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/Asn1Object.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/Asn1Object.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/Asn1Object.java
Sun Aug 21 15:36:47 2005
@@ -18,6 +18,9 @@
 
 import java.nio.ByteBuffer;
 
+import org.apache.asn1.codec.DecoderException;
+import org.apache.asn1.codec.EncoderException;
+
 
 /**
  * An abstract class which implements basic TLV operations.

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/Asn1Decoder.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/Asn1Decoder.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/Asn1Decoder.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/Asn1Decoder.java
Sun Aug 21 15:36:47 2005
@@ -17,7 +17,7 @@
 package org.apache.asn1new.ber;
 
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ber.containers.IAsn1Container;
 import org.apache.asn1new.ber.tlv.Length;
 import org.apache.asn1new.ber.tlv.TLV;
@@ -789,7 +789,7 @@
      *
      * @throws DecoderException Thrown if enything went wrong!
      */
-    public boolean decode( ByteBuffer stream, IAsn1Container container ) throws DecoderException
+    public boolean decode( ByteBuffer stream, IAsn1Container container ) throws org.apache.asn1.codec.DecoderException
     {
 
         /* We have to deal with the current state. This is an

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/AbstractGrammar.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/AbstractGrammar.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/AbstractGrammar.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/AbstractGrammar.java
Sun Aug 21 15:36:47 2005
@@ -17,7 +17,7 @@
 package org.apache.asn1new.ber.grammar;
 
 import org.apache.asn1new.Asn1Object;
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ber.containers.IAsn1Container;
 import org.apache.asn1new.ber.tlv.TLV;
 import org.apache.asn1new.ber.tlv.Tag;

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IAction.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IAction.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IAction.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IAction.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,7 @@
  */
 package org.apache.asn1new.ber.grammar;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ber.containers.IAsn1Container;
 
 

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IGrammar.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IGrammar.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IGrammar.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/grammar/IGrammar.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,7 @@
  */
 package org.apache.asn1new.ber.grammar;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ber.containers.IAsn1Container;
 
 

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/ITLVBerDecoderMBean.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/ITLVBerDecoderMBean.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/ITLVBerDecoderMBean.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/ITLVBerDecoderMBean.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,8 @@
  */
 package org.apache.asn1new.ber.tlv;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
+
 
 
 /**

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/Value.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/Value.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/Value.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/ber/tlv/Value.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,7 @@
  */
 package org.apache.asn1new.ber.tlv;
 
-import org.apache.asn1new.EncoderException;
+import org.apache.asn1.codec.EncoderException;
 import org.apache.asn1new.primitives.OID;
 import org.apache.asn1new.primitives.OctetString;
 import org.apache.asn1new.util.MutableString;

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/BitString.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/BitString.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/BitString.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/BitString.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,7 @@
  */
 package org.apache.asn1new.primitives;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 
 
 /**

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/OID.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/OID.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/OID.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/primitives/OID.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,7 @@
  */
 package org.apache.asn1new.primitives;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 
 
 /**

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/util/IntegerDecoder.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/util/IntegerDecoder.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/util/IntegerDecoder.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/util/IntegerDecoder.java
Sun Aug 21 15:36:47 2005
@@ -16,7 +16,7 @@
  */
 package org.apache.asn1new.util;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ber.tlv.Value;
 
 

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/BitStringTest.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/BitStringTest.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/BitStringTest.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/BitStringTest.java
Sun Aug 21 15:36:47 2005
@@ -19,7 +19,7 @@
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 
 
 /**

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/OIDTest.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/OIDTest.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/OIDTest.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/OIDTest.java
Sun Aug 21 15:36:47 2005
@@ -19,7 +19,7 @@
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 
 
 /**

Modified: directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/PrimitivesTest.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/PrimitivesTest.java?rev=234380&r1=234379&r2=234380&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/PrimitivesTest.java
(original)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/test/org/apache/asn1new/primitives/PrimitivesTest.java
Sun Aug 21 15:36:47 2005
@@ -19,7 +19,7 @@
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
-import org.apache.asn1new.DecoderException;
+import org.apache.asn1.codec.DecoderException;
 import org.apache.asn1new.ber.tlv.Value;
 import org.apache.asn1new.util.IntegerDecoder;
 import org.apache.log4j.PropertyConfigurator;



Mime
View raw message