dirkv 01/08/31 14:37:32
Modified: src/stores/slidestore/reference JDBCContentStore.java
Log:
do NOT encapsulate RevisionNotFoundException inside a ServiceAccessException
Revision Changes Path
1.10 +7 -4
jakarta-slide/src/stores/slidestore/reference/JDBCContentStore.java
Index: JDBCContentStore.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/stores/slidestore/reference/JDBCContentStore.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- JDBCContentStore.java 2001/08/18 13:11:39 1.9
+++ JDBCContentStore.java 2001/08/31 21:37:32 1.10
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-slide/src/stores/slidestore/reference/JDBCContentStore.java,v 1.9
2001/08/18 13:11:39 dirkv Exp $
- * $Revision: 1.9 $
- * $Date: 2001/08/18 13:11:39 $
+ * $Header:
/home/cvs/jakarta-slide/src/stores/slidestore/reference/JDBCContentStore.java,v 1.10
2001/08/31 21:37:32 dirkv Exp $
+ * $Revision: 1.10 $
+ * $Date: 2001/08/31 21:37:32 $
*
* ====================================================================
*
@@ -90,7 +90,7 @@
* JDBC 2.0 compliant implementation of ContentStore.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Remy Maucherat</a>
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class JDBCContentStore extends AbstractSimpleService
implements ContentStore {
@@ -419,6 +419,9 @@
} catch (SQLException e) {
getLogger().log(e,LOG_CHANNEL,Logger.ERROR);
throw new ServiceAccessException(this, e.getMessage());
+ } catch (RevisionNotFoundException e) {
+ // we do NOT want this caught by next clause.
+ throw e;
} catch (Exception e) {
getLogger().log(e,LOG_CHANNEL,Logger.ERROR);
throw new ServiceAccessException(this, e.getMessage());