Bug 2795 - OffspringObserver need more detailed exception message
Summary: OffspringObserver need more detailed exception message
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
Depends on:
Blocks: 1582
  Show dependency treegraph
 
Reported: 2006-06-18 23:35 UTC by Phil Muldoon
Modified: 2006-07-10 18:51 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Muldoon 2006-06-18 23:35:03 UTC
I've begun to notice that OffspringObserver - when attaching to a Bash process -
always throws an Exception with the message: 

"Process Lost". 

As this is an exception bubbles up to the observer application in the gui and
triggers the addFailed() method, it will be visible to user.

I looked in the code of OffspringObserver and it seems the "Process Lost"
excpeption is thrown when it is unable to find the main Task for a given Proc. 

As the user will see this, we need to inform them of what "Process Lost" means.
Comment 1 Nurdin Premji 2006-06-19 15:54:17 UTC
Will look into this and give more detailed error messages.
Comment 2 Nurdin Premji 2006-06-19 20:21:53 UTC
Okay added more detail to exception stating main thread could no be found and
displaying the process (toString).

2006-06-19  Nurdin Premji  <npremji@redhat.com>

	* OffspringObserver.java (procOffspringObserver): renamed. Was 
	offspringObserver.
	(execute): Added more detail to exception thrown. Bug 2795