Im whould prefer to release mime4j first..
WDYT ?
bye
Norman
Norman Maurer (JIRA) schrieb:
[ https://issues.apache.org/jira/browse/MIME4J-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496804 ]
Norman Maurer commented on MIME4J-16:
-------------------------------------
I like the idea... The question is should we apply the patch before tagging the
svn for 0.3 release or after ?
Allow exceptions from a ContentHandler
--------------------------------------
Key: MIME4J-16
URL: https://issues.apache.org/jira/browse/MIME4J-16
Project: Mime4j
Issue Type: Improvement
Reporter: Jukka Zitting
Assigned To: Norman Maurer
Attachments: MimeException.patch
There is currently no good way for a Mime4j ContentHandler to indicate that it
has failed to process a message event and that no further events should be
generated. Compare this with for example the SAX ContentHandler interface that
allows implementing classes to throw SAXExceptions.
Being able to throw such processing exceptions is important for example for a
handler that wants to incrementally store a message in a backend store like a
relational database or a JCR content repository.
My proposal is to add a new MimeException exception class and allow it to be
thrown from any of the ContentHandler methods. Such a change would be
incompatible with any parser and other classes that call the ContentHandler
methods (even indirectly, for example through the MimeStreamParser class), but
existing classes that implement the ContentHandler interface would not be
affected.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]