directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 9683 - in incubator/directory: eve/trunk/eve/frontend/buffer/merlin-impl/conf snickers/trunk/ber snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful
Date Mon, 22 Mar 2004 11:35:13 GMT
Author: akarasulu
Date: Mon Mar 22 03:35:12 2004
New Revision: 9683

Modified:
   incubator/directory/eve/trunk/eve/frontend/buffer/merlin-impl/conf/block.xml
   incubator/directory/snickers/trunk/ber/project.xml
   incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/DecoderMonitorAdapter.java
Log:
dep fixes and monitor

Modified: incubator/directory/eve/trunk/eve/frontend/buffer/merlin-impl/conf/block.xml
==============================================================================
--- incubator/directory/eve/trunk/eve/frontend/buffer/merlin-impl/conf/block.xml	(original)
+++ incubator/directory/eve/trunk/eve/frontend/buffer/merlin-impl/conf/block.xml	Mon Mar 22
03:35:12 2004
@@ -7,9 +7,12 @@
       <repository>
         <resource id="avalon-framework:avalon-framework-api" version="4.1.5"/>
         <resource id="commons-lang:commons-lang" version="2.0"/>
-        <resource id="directory:eve-frontend-common-api" version="SNAPSHOT"/>
-        <resource id="directory:eve-frontend-buffer-spi" version="SNAPSHOT"/>
-        <resource id="directory:eve-frontend-buffer-pojo-impl" version="SNAPSHOT"/>
+        <resource id="incubator-directory:eve-frontend-common-api" 
+                  version="SNAPSHOT"/>
+        <resource id="incubator-directory:eve-frontend-buffer-spi" 
+                  version="SNAPSHOT"/>
+        <resource id="incubator-directory:eve-frontend-buffer-pojo-impl" 
+                  version="SNAPSHOT"/>
       </repository>
     </classpath>
   </classloader>

Modified: incubator/directory/snickers/trunk/ber/project.xml
==============================================================================
--- incubator/directory/snickers/trunk/ber/project.xml	(original)
+++ incubator/directory/snickers/trunk/ber/project.xml	Mon Mar 22 03:35:12 2004
@@ -46,14 +46,14 @@
     </dependency>
 
     <dependency>
-      <groupId>directory</groupId>
+      <groupId>incubator-directory</groupId>
       <artifactId>ldap-common</artifactId>
       <version>SNAPSHOT</version>
       <url>http://incubator.apache.org/directory/subprojects/ldap/common</url>
     </dependency>
 
     <dependency>
-      <groupId>directory</groupId>
+      <groupId>incubator-directory</groupId>
       <artifactId>ldap-snacc-provider</artifactId>
       <version>SNAPSHOT</version>
       <url>

Modified: incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/DecoderMonitorAdapter.java
==============================================================================
--- incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/DecoderMonitorAdapter.java
(original)
+++ incubator/directory/snickers/trunk/codec-stateful/src/java/org/apache/commons/codec/stateful/DecoderMonitorAdapter.java
Mon Mar 22 03:35:12 2004
@@ -18,7 +18,9 @@
 
 
 /**
- * A do nothing decoder monitor adapter.
+ * A do nothing decoder monitor adapter.  At a bare minimum warning, error and
+ * fatal exceptions are reported to the console when using this adapter to 
+ * prevent exceptions from being completely ignored.
  *
  * @author Apache Software Foundation
  * @version $Rev$
@@ -31,7 +33,7 @@
      */
     public void error( StatefulDecoder decoder, Exception exception )
     {
-        throw new RuntimeException( exception ) ;
+        System.err.println( "ERROR: " + exception.getMessage() ) ;
     }
 
     
@@ -41,7 +43,7 @@
      */
     public void fatalError( StatefulDecoder decoder, Exception exception )
     {
-        throw new RuntimeException( exception ) ;
+        System.err.println( "FATAL: " + exception.getMessage() ) ;
     }
 
     
@@ -51,7 +53,7 @@
      */
     public void warning( StatefulDecoder decoder, Exception exception )
     {
-        throw new RuntimeException( exception ) ;
+        System.err.println( "WARN: " + exception.getMessage() ) ;
     }
 
     

Mime
View raw message