first commit
This commit is contained in:
commit
4d332ef662
27586 changed files with 3281783 additions and 0 deletions
|
|
@ -0,0 +1,40 @@
|
|||
package javax.mail;
|
||||
|
||||
public class SendFailedException extends MessagingException {
|
||||
protected transient Address[] invalid;
|
||||
|
||||
protected transient Address[] validSent;
|
||||
|
||||
protected transient Address[] validUnsent;
|
||||
|
||||
private static final long serialVersionUID = -6457531621682372913L;
|
||||
|
||||
public SendFailedException() {}
|
||||
|
||||
public SendFailedException(String s) {
|
||||
super(s);
|
||||
}
|
||||
|
||||
public SendFailedException(String s, Exception e) {
|
||||
super(s, e);
|
||||
}
|
||||
|
||||
public SendFailedException(String msg, Exception ex, Address[] validSent, Address[] validUnsent, Address[] invalid) {
|
||||
super(msg, ex);
|
||||
this.validSent = validSent;
|
||||
this.validUnsent = validUnsent;
|
||||
this.invalid = invalid;
|
||||
}
|
||||
|
||||
public Address[] getValidSentAddresses() {
|
||||
return this.validSent;
|
||||
}
|
||||
|
||||
public Address[] getValidUnsentAddresses() {
|
||||
return this.validUnsent;
|
||||
}
|
||||
|
||||
public Address[] getInvalidAddresses() {
|
||||
return this.invalid;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue