Menu

#2 Fixed exception chaining in PluginException.

open
nobody
None
2
2005-02-11
2005-02-11
No

All constructors for PluginException do not hadle cause
of exception properly. All of them have something like
that:

public PluginException(IllegalAccessException e) {
this.cause = e.getCause();

It shoud be:

this.cause = e;

Otherwise many useful information about stack trace is
lost.
Attached patch fixes it.

Discussion

  • Grzegorz Lukasik

    Patch for all PluginException constructors.

     
  • Grzegorz Lukasik

    • priority: 5 --> 2
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.