Bug 6533

Summary: Watchpoint addition failure should not raise an exception, but should instead call .addFailed() callback
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Phil Muldoon <pmuldoon>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1625    

Description Phil Muldoon 2008-05-20 09:18:59 UTC
This fits within the observer design pattern, and makes error mitigation and
handling more manageable.
Comment 1 Phil Muldoon 2008-05-20 09:19:41 UTC
   Call addFailed passing the Exception, rather than raising an exception when a
watchpoint observer fails to be added to the task.
    2008-05-12  Phil Muldoon  <pmuldoon@redhat.com>
    	* TestTaskObserverWatchpoint.java (testAddFailed): New.
    	(AddFailWatchObserver): New.
    2008-05-12  Phil Muldoon  <pmuldoon@redhat.com>
    	* LinuxPtraceProc.java (requestAddWatchObserver): Call addFailed
    	on any exceptions raised in add().