You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2003/05/21 10:45:37 UTC
cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular DatabaseAction.java
haul 2003/05/21 01:45:37
Modified: src/blocks/databases/java/org/apache/cocoon/acting/modular
DatabaseAction.java
Log:
Change error message to reflect that not only inserts may have caused this.
Revision Changes Path
1.2 +2 -2 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseAction.java
Index: DatabaseAction.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DatabaseAction.java 9 Mar 2003 00:03:04 -0000 1.1
+++ DatabaseAction.java 21 May 2003 08:45:37 -0000 1.2
@@ -797,7 +797,7 @@
param.getParameter( "throw-exception", null ) );
if ( throwException != null &&
( throwException.equalsIgnoreCase( "true" ) || throwException.equalsIgnoreCase( "yes" ) ) ) {
- throw new ProcessingException("Could not add record",e);
+ throw new ProcessingException("Cannot process the requested SQL statement ",e);
}
} finally {
if (conn != null) {
Re: cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular DatabaseAction.java
Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
This:
"Cannot process the requested SQL statement "
look better.
Thanks Chris!
Antonio.