Error Handling In JDBCMailRepository

2007-08-01 Thread Robert Burrell Donkin
JDBCMailRepository contains several examples of exception handing similar to: } catch (Exception me) { throw new MessagingException("Exception while retrieving mail: " + me.getMessage()); } the downside with this approach is that information about the original exception

Re: Error Handling In JDBCMailRepository

2007-08-01 Thread Bernd Fondermann
Robert Burrell Donkin wrote: JDBCMailRepository contains several examples of exception handing similar to: } catch (Exception me) { throw new MessagingException("Exception while retrieving mail: " + me.getMessage()); } the downside with this approach is that informati

Re: Error Handling In JDBCMailRepository

2007-08-01 Thread Serge Knystautas
On 8/1/07, Robert Burrell Donkin <[EMAIL PROTECTED]> wrote: > JDBCMailRepository contains several examples of exception handing similar to: > > } catch (Exception me) { > throw new MessagingException("Exception while retrieving > mail: " + me.getMessage()); >} > > the do

Re: Error Handling In JDBCMailRepository

2007-08-01 Thread Stefano Bagnara
Robert Burrell Donkin ha scritto: > JDBCMailRepository contains several examples of exception handing similar to: > > } catch (Exception me) { > throw new MessagingException("Exception while retrieving > mail: " + me.getMessage()); >} > > the downside with this approac

Re: Error Handling In JDBCMailRepository

2007-08-02 Thread norman
Am Mittwoch, den 01.08.2007, 20:32 + schrieb Robert Burrell Donkin: > JDBCMailRepository contains several examples of exception handing similar to: > > } catch (Exception me) { > throw new MessagingException("Exception while retrieving > mail: " + me.getMessage()); >

Re: Error Handling In JDBCMailRepository

2007-08-02 Thread Robert Burrell Donkin
committed On 8/2/07, norman <[EMAIL PROTECTED]> wrote: > Am Mittwoch, den 01.08.2007, 20:32 + schrieb Robert Burrell Donkin: > > JDBCMailRepository contains several examples of exception handing similar > > to: > > > > } catch (Exception me) { > > throw new MessagingExcept