Tesugen

Yet another post on WOXML

Time for yet another post about Apple’s WebObjects XML framework:

If you get a WOXMLException, which Apple “helpfully” uses to “wrap a number of exceptions that can arise during the parsing process, reducing the number of exceptions your code has to catch” (from the docs), you might want to know that WOXMLException inherits from private class _NSForwardException, which isn’t documented – but this class implements a number of public methods.

You might, for example, want to use the originalException() method to get hold of the original exception. (At first I didn’t think it was possible, but in JavaBrowser I could see what methods the private class implements.)

Malte and I have posted many entries about this framework: herehereherehere – and here. Check them out if you have problems (which is likely).

The above was posted to my personal weblog on June 12, 2002. My name is Peter Lindberg and I am a thirtysomething software developer and dad living in Stockholm, Sweden. Here, you’ll find posts in English and Swedish about whatever happens to interest me for the moment.

Posted around the same time:

The seven most recent posts:

  1. Tesugen Replaced (October 7)
  2. My Year of MacBook Troubles (May 16)
  3. Tesugen Turns Five (March 21)
  4. Gustaf Nordenskiöld om keramik kontra kläddesign (December 10, 2006)
  5. Se till att ha två buffertar för oförutsedda utgifter (October 30, 2006)
  6. Bra tips för den som vill börja fondspara (October 7, 2006)
  7. Light-Hearted Parenting Tips (September 16, 2006)
Bloggtoppen.se