Java javax.mail SendFailedException fields, constructors, methods, implement or subclass

Example usage for Java javax.mail SendFailedException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.mail SendFailedException.

The text is from its open source code.

Constructor

SendFailedException(String s)
Constructs a SendFailedException with the specified detail message.
SendFailedException(String msg, Exception ex, Address[] validSent, Address[] validUnsent, Address[] invalid)
Constructs a SendFailedException with the specified string and the specified address objects.
SendFailedException(String s, Exception e)
Constructs a SendFailedException with the specified Exception and detail message.

Method

ThrowablegetCause()
Overrides the getCause method of Throwable to return the next exception in the chain of nested exceptions.
Address[]getInvalidAddresses()
Return the addresses to which this message could not be sent.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns the detail message string of this throwable.
ExceptiongetNextException()
Get the next exception chained to this one.
Address[]getValidSentAddresses()
Return the addresses to which this message was sent succesfully.
Address[]getValidUnsentAddresses()
Return the addresses that are valid but to which this message was not sent.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
booleansetNextException(Exception ex)
Add an exception to the end of the chain.
StringtoString()
Override toString method to provide information on nested exceptions.