Boris, See class SyntaxError for a relatively stand-alone thing that can be a notified object. Make bomb be a subclass of SyntaxError, and hand it in to be notified. Or, if you don't like that, examine the protocol of SyntaxError and StringHolder to see what your class has to respond to. Yes, its not very clean for what you want to do.
--Ted.
Ted Kaehler, Walt Disney Imagineering, R&D (home) 3415 Cork Oak Way, Palo Alto, CA 94303. voice (650) 424-1070 http://www.webPage.com/~kaehler2/ *** All cities in area code 415 south of San Francisco are now in 650. 415 no longer works for them. ***