Patches item #486426, was opened at 2001-11-28 02:57
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=486426&group_id=22866

Category: JBossCMP
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Bani Greyling (banigreyling)
Assigned to: Nobody/Anonymous (nobody)
Summary: Proposed patch for exception message

Initial Comment:
The FinderException in itself already give an 
indication that the find failed, which render 
the "Find failed" message useless. A message that 
better describe the underlying exception would enable 
the client to take different action, should he preferr 
to do so. (Like resubmitting the request if the 
message indicates that the connection was lost). 

Configuration:
JBoss 2.4.1
JDK 1.3
Windows NT4

Sourcefile: 
org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.java

Unified Diff:

--- JDBCFinderCommand.java~1~   Wed Jun 13 08:52:51 
2001
+++ JDBCFinderCommand.java      Wed Nov 28 10:29:29 
2001
@@ -102,7 +102,7 @@
       } catch (Exception e)
       {
          log.debug(e);
-         throw new FinderException("Find failed");
+         throw new FinderException(e.toString());
       }
 
       return result;


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=486426&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to