Hi,
>
>> -            //savedException = ex;
>> -            throw new Error(ex.getNextException().getMessage());
>> +            String message = ex.getLocalizedMessage();
>> +            Throwable nextT = ((SQLException)ex).getNextException();
>> +            if (nextT != null) message = message + "\n" + 
>> nextT.getLocalizedMessage();
>> +            throw new Error(message);
> Michael,
>
> wouldn't you have to loop over it until there is no next exception anymore? 
> or, do i misunderstand the concept here?
Just tested it, but did not get more message.
I prefer to keep the simple if form until we find that returned 
information is not enough.

Michaël
>
> ..ede
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to