Simon Kitching wrote:

Unfortunately, the DefaultHandler does not offer the option of terminating on error (instead it logs [ERROR] messages).

So, I am now in search of an ErrorHandler that does that.



You should just create a subclass of ErrorHandler. It's really trivial to write. Each of the methods "warning", "error", "fatalError" just need to be: // throw the parameter as an exception throw exception;

I suggest writing it as a static inner class, or even an anonymous
class, if you are only creating the digester in one place.


excellent.  will do.

Regards,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to