Jump to content


Photo

[5.1] SwingWorker stops exceptions being reported


  • Please log in to reply
1 reply to this topic

#1 Orions_Stardom

Orions_Stardom
  • Gibberlings
  • 206 posts

Posted 11 February 2007 - 06:43 PM

Using javax.swing.SwingWorker puts all the cloning work on an async thread. This means that when a PatchingFailedException is thrown by FileSystem.Copy, it isn't reported - infact, it looks like SwingWorker just goes ahead and calls 'done()'.
I *think* the solution to this is to introduce a method, reportException() to MultiInstall.java, and call it by a special argument to publish().

#2 Orions_Stardom

Orions_Stardom
  • Gibberlings
  • 206 posts

Posted 11 February 2007 - 09:16 PM

I have introduced the method described above, which should fix this.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users