You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2016/12/22 18:56:23 UTC
svn commit: r1775698 -
/jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
Author: fschumacher
Date: Thu Dec 22 18:56:23 2016
New Revision: 1775698
URL: http://svn.apache.org/viewvc?rev=1775698&view=rev
Log:
AddressException is a child of MessagingException, so we don't need to declare it.
Modified:
jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
Modified: jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java?rev=1775698&r1=1775697&r2=1775698&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/reporters/MailerModel.java Thu Dec 22 18:56:23 2016
@@ -297,7 +297,7 @@ public class MailerModel extends Abstrac
* if any of the addresses is wrong
*/
public void sendMail(String from, List<String> vEmails, String subject, String attText, String smtpHost)
- throws AddressException, MessagingException {
+ throws MessagingException {
sendMail(from, vEmails, subject, attText, smtpHost, DEFAULT_SMTP_PORT, null, null, null, false);
}
@@ -330,7 +330,7 @@ public class MailerModel extends Abstrac
final String password,
MailAuthType mailAuthType,
boolean debug)
- throws AddressException, MessagingException{
+ throws MessagingException{
InternetAddress[] address = new InternetAddress[vEmails.size()];
@@ -388,7 +388,7 @@ public class MailerModel extends Abstrac
* @throws AddressException If mail address is wrong
* @throws MessagingException If building MimeMessage fails
*/
- public synchronized void sendTestMail() throws AddressException, MessagingException {
+ public synchronized void sendTestMail() throws MessagingException {
String to = getToAddress();
String from = getFromAddress();
String subject = "Testing mail-addresses";