[API Design] Reconsider use of ParseException
---------------------------------------------
Key: MAILET-8
URL: https://issues.apache.org/jira/browse/MAILET-8
Project: Mailet API
Issue Type: Improvement
Components: Core API
Reporter: Robert Burrell Donkin
ParseException is thrown by MailAddress. The typical use case is parsing a
string and encountering an issue at a position. A message is then constructed
detailing the position and (preferably) the string being parsed.
Perhaps it might be useful to include the position and string being parsed as
properties of the exception. This would may allow callers to attempt recovery
rather than just fail the transaction.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.