"Geert Van Damme" <[EMAIL PROTECTED]> writes: > Hi, > > I'm writing a custom transformer, extending the AbstractDOMTransformer. Is there a > way to throw an exception from this transformer so that the error handling pipeline > of the sitemap is 'activated' ? (the transform method signature does not throw an > exception). Or is the error handling from the sitemap only meant for SAXExceptions ? >
Any checked exception in setup or any of the ContentHandler methods should activate the error pipline. If you can't throw a ProcessingException in setup, wrap a SAXException around your real exception. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]