noel 2004/03/19 23:15:12
Modified: src/java/org/apache/james/mailrepository Tag: branch_2_1_fcs
JDBCMailRepository.java
Log:
Replaced RuntimeException with MessagingException. Missed it during earlier change
Revision Changes Path
No revision
No revision
1.30.4.14 +2 -2
james-server/src/java/org/apache/james/mailrepository/JDBCMailRepository.java
Index: JDBCMailRepository.java
===================================================================
RCS file:
/home/cvs/james-server/src/java/org/apache/james/mailrepository/JDBCMailRepository.java,v
retrieving revision 1.30.4.13
retrieving revision 1.30.4.14
diff -u -r1.30.4.13 -r1.30.4.14
--- JDBCMailRepository.java 15 Mar 2004 03:54:16 -0000 1.30.4.13
+++ JDBCMailRepository.java 20 Mar 2004 07:15:12 -0000 1.30.4.14
@@ -955,7 +955,7 @@
sr.remove(key);
}
} catch (Exception me) {
- throw new RuntimeException("Exception while removing mail: " +
me.getMessage());
+ throw new MessagingException("Exception while removing mail: " +
me.getMessage());
} finally {
theJDBCUtil.closeJDBCStatement(removeMessage);
theJDBCUtil.closeJDBCConnection(conn);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]