Dave Kimber created EMAIL-175: --------------------------------- Summary: MimeMessageParser should throw more specific exceptions Key: EMAIL-175 URL: https://issues.apache.org/jira/browse/EMAIL-175 Project: Commons Email Issue Type: Improvement Affects Versions: 1.5 Reporter: Dave Kimber Priority: Minor
The following methods on MimeMessageParser all throw Exception: {code} parse() throws Exception getTo() throws Exception getCc() throws Exception getBcc() throws Exception getFrom() throws Exception getReplyTo() throws Exception getSubject() throws Exception {code} They can all throw more specific exception types: {code} parse() throws MessagingException, IOException getTo() throws MessagingException getCc() throws MessagingException getBcc() throws MessagingException getFrom() throws MessagingException getReplyTo() throws MessagingException getSubject() throws MessagingException {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)