Subject Re: Patches to improve exception messages
Author rrokytskyy
Thanks!

I will check your changes this evening and commit to CVS.

Roman

--- In Firebird-Java@y..., Todd Jonker <tvj@p...> wrote:
> 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)