db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: SQLExceptions and OutOfMemoryExceptions
Date Wed, 23 Nov 2005 14:57:50 GMT
Oyvind.Bakksjo@Sun.COM wrote:

> Lance J. Andersen wrote:
>> I am not fond of a Singleton of a SQLException but that is just me.
> You would at least need to have one per thread.

Why? If I have a singleton as a static and never modify it, I can safely
throw it in multiple threads. It will have the fixed meangingless stack
trace, but this to handle a special case.


View raw message