Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.