Subject | Patches to improve exception messages |
---|---|
Author | Todd Jonker |
Post date | 2002-06-24T17:10:04Z |
Hi everyone,
I'd like to offer two small patches.
The first is a rewrite of GDSException.getMessage() that includes the
messages of any chained exceptions. This helps alleviate a problem I saw
frequently, where the error message had no useful diagnostic information
because it was buried down the chain.
The second is a small addition to FBWrappingDataSource.checkStarted() that
ensures that the FBManagedConnectionFactory has a non-null database name.
This prevents a NullPointerException in one misconfiguration scenario.
I've attached a patch file (via cvs diff -c) that I hope will be usable.
Thanks for offering such a great project to the community.
.T.
--
I look for what needs to be done.... After all, that's how the universe
designs itself. -R. Buckminster Fuller, engineer, designer, and architect
(1895-1983)
I'd like to offer two small patches.
The first is a rewrite of GDSException.getMessage() that includes the
messages of any chained exceptions. This helps alleviate a problem I saw
frequently, where the error message had no useful diagnostic information
because it was buried down the chain.
The second is a small addition to FBWrappingDataSource.checkStarted() that
ensures that the FBManagedConnectionFactory has a non-null database name.
This prevents a NullPointerException in one misconfiguration scenario.
I've attached a patch file (via cvs diff -c) that I hope will be usable.
Thanks for offering such a great project to the community.
.T.
--
I look for what needs to be done.... After all, that's how the universe
designs itself. -R. Buckminster Fuller, engineer, designer, and architect
(1895-1983)