Bug 2795

Summary: OffspringObserver need more detailed exception message
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Nurdin Premji <npremji>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1582    

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