On 16.04.2013 20:14, micha...@users.sourceforge.net wrote:>          catch 
(SQLException ex) {
> -            //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?

..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

Reply via email to