Exceptions for DOM-XPath

2012-04-10 Thread Jonas Sicking
Hi All, We're currently cleaning out some of our error handling code and the turn has come to XPathException. The DOM4+WebIDL specs has created a nice set of exceptions which make it easier for authors to check for specific exceptions. You now only have to check .name (which is a string) rather

Re: Exceptions for DOM-XPath

2012-04-10 Thread Anne van Kesteren
On Tue, 10 Apr 2012 21:30:02 +0200, Jonas Sicking jo...@sicking.cc wrote: We're currently cleaning out some of our error handling code and the turn has come to XPathException. The DOM4+WebIDL specs has created a nice set of exceptions which make it easier for authors to check for specific