cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r697135 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/remote/hessian/HessianConnection.java
Date Fri, 19 Sep 2008 15:38:46 GMT
Author: kmenard
Date: Fri Sep 19 08:38:46 2008
New Revision: 697135

URL: http://svn.apache.org/viewvc?rev=697135&view=rev
Log:
Fixed CAY-671: custom exception class for ROP missing session

Looks like I commented out stuff I shouldn't have.

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/remote/hessian/HessianConnection.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/remote/hessian/HessianConnection.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/remote/hessian/HessianConnection.java?rev=697135&r1=697134&r2=697135&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/remote/hessian/HessianConnection.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/remote/hessian/HessianConnection.java
Fri Sep 19 08:38:46 2008
@@ -145,9 +145,9 @@
         try {
             return service.processMessage(message);
         }
-        //catch (CayenneRuntimeException e) {
-        //    throw e;
-        //}
+        catch (CayenneRuntimeException e) {
+            throw e;
+        }
         catch (Throwable th) {
             th = unwindThrowable(th);
             String errorMessage = buildExceptionMessage("Remote error", th);



Mime
View raw message