Hi
> About bug 3528916, 3602791
>
> As I still see error message in the console (and Uwe also reported it 
> recently) , I had a look to the code
> You made the folowing fix on sept 2012
> http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/com/vividsolutions/jump/workbench/ui/cursortool/AbstractCursorTool.java?r1=2739&r2=3006&sortby=date
>
> There are 2 things I can't understand :
> - you catch a *InternalError*, but the error I get in the console is a 
> sublass of *IllegalStateException* which is not a *InternalError
> probably another issue than. the bug report 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7153339 pretty clearly 
> mentions an InternalError
>
>> *- Either with *InternalError *or **IllegalStateException* *I could not 
>> prevent the error to be propagated up to the console
>> (even after I removed the printstacktrace instruction)*
>>
> need to reproduce whatever you are referring to? any steps?
Yes, I did a few more tests :
if I remove catch clauses, I get 2 throwables :
1 - sun.java2d.InvalidPipeException (which is an IllegalStateException)
2 - java.lang.InternalError
both are thrown by the same line of code (line 393 in AbstractCursorTool)
There is no problem with the catch you added which does catch the
InternalError
On the other hand, I cannot catch the InvalidPipeException, whatever I do.

Step by step :
Add a catch(IllegalStateException) clause before catch(InternalError), 
or after
no matter what I do, InvalidPipeException is propagated to the console.

Michaël

>
> ..ede
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to