Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346157 - "throw" action for stream tokenizer
Summary: "throw" action for stream tokenizer
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Albert L. Rossi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 16:47 EDT by Albert L. Rossi CLA
Modified: 2011-05-17 23:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert L. Rossi CLA 2011-05-17 16:47:53 EDT
There should be a general capability for stopping the command based on matching error messages on the streams.

To support this we need to pass in the progress monitor associated with the CommandJob, and cancel it after setting the appropriate exception message.

ThrowType should be implemented using the IAssign interface and the AbstractAssignAction base class.
Comment 1 Albert L. Rossi CLA 2011-05-17 23:37:59 EDT
Done.