bloritsch 01/03/26 12:26:10
Modified: src/org/apache/cocoon/processor/xsp/library/sql esql.xsl
Log:
throw exceptions in AsciiStream stuff
Revision Changes Path
1.73 +5 -3
xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql/esql.xsl
Index: esql.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/sql/esql.xsl,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- esql.xsl 2001/03/26 20:14:02 1.72
+++ esql.xsl 2001/03/26 20:26:10 1.73
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- $Id: esql.xsl,v 1.72 2001/03/26 20:14:02 balld Exp $-->
+<!-- $Id: esql.xsl,v 1.73 2001/03/26 20:26:10 bloritsch Exp $-->
<!--
============================================================================
@@ -257,9 +257,11 @@
asciiStream.read(buffer);
asciiStream.close();
} catch (Exception e) {
- // ignore exception
+ throw new RuntimeException("Error getting clob data: " +
e.getMessage());
} finally {
- if (asciiStream != null) try {asciiStream.close();} catch
(Exception ase) {/*ignore*/}
+ if (asciiStream != null) try {asciiStream.close();} catch
(Exception ase) {
+ throw new RuntimeException("Error closing clob stream: " +
e.getMessage());
+ }
}
if (buffer == null) return "";
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]