See comment above. If error(e) starts throwing an exception, then this is fine. Otherwise, remove "SAXException" from the throw list.