tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject svn commit: r884410 [4/4] - /tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/
Date Thu, 26 Nov 2009 06:35:46 GMT
Added: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/WrappedException.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/WrappedException.java?rev=884410&view=auto
==============================================================================
--- tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/WrappedException.java
(added)
+++ tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/WrappedException.java
Thu Nov 26 06:35:43 2009
@@ -0,0 +1,40 @@
+/*
+ */
+package org.apache.tomcat.lite.io;
+
+import java.io.IOException;
+
+/**
+ * For specific exceptions - also has cause ( good if compiling against
+ * JDK1.5 ) 
+ * 
+ * @author Costin Manolache
+ */
+public class WrappedException extends IOException {
+
+    public WrappedException() {
+        super();
+    }
+    
+    public WrappedException(String message) {
+        super(message);
+    }
+
+    public WrappedException(String message, Throwable cause) {
+        super(message);
+        initCause(cause);
+    }
+    
+    public WrappedException(Throwable cause) {
+        super("");
+        initCause(cause);
+    }
+    
+    
+    public static class ClientAbortException extends WrappedException {
+        public ClientAbortException(Throwable throwable) {
+            super(null, throwable);
+        }
+    }
+    
+}

Propchange: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/WrappedException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/package.html
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/package.html?rev=884410&view=auto
==============================================================================
--- tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/package.html (added)
+++ tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/package.html Thu Nov 26
06:35:43 2009
@@ -0,0 +1,7 @@
+IO layer based on tomcat coyote connector and utils.
+
+There are many big changes:
+<ul>
+  <li>
+  <li>
+</ul>
\ No newline at end of file

Propchange: tomcat/trunk/modules/tomcat-lite/java/org/apache/tomcat/lite/io/package.html
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message