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) {
  
  
  

Reply via email to