|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.mail.MessagingException
javax.mail.SendFailedException
com.sun.mail.smtp.SMTPSendFailedException
public final class SMTPSendFailedException
この例外はメッセージを送信できない場合にスローされます。
This exception will usually appear first in a chained list of exceptions, followed by SMTPAddressFailedExceptions and/or SMTPAddressSucceededExceptions, one per address. This exception corresponds to one of the SMTP commands used to send a message, such as the MAIL, DATA, and "end of data" commands, but not including the RCPT command.
| フィールドの概要 | |
|---|---|
protected InternetAddress |
addr
|
protected String |
cmd
|
protected int |
rc
|
| クラス javax.mail.SendFailedException から継承されたフィールド |
|---|
invalid, validSent, validUnsent |
| コンストラクタの概要 | |
|---|---|
SMTPSendFailedException(String cmd,
int rc,
String err,
Exception ex,
Address[] vs,
Address[] vus,
Address[] inv)
指定されたアドレス、リターンコード、及びエラー文字列で SMTPSendFailedException を構築します。 |
|
| メソッドの概要 | |
|---|---|
String |
getCommand()
失敗したコマンドを返します。 |
int |
getReturnCode()
失敗の理由を示す SMTP サーバからのリターンコードを返します。 |
| クラス javax.mail.SendFailedException から継承されたメソッド |
|---|
getInvalidAddresses, getValidSentAddresses, getValidUnsentAddresses |
| クラス javax.mail.MessagingException から継承されたメソッド |
|---|
getMessage, getNextException, setNextException |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
protected InternetAddress addr
protected String cmd
protected int rc
| コンストラクタの詳細 |
|---|
public SMTPSendFailedException(String cmd,
int rc,
String err,
Exception ex,
Address[] vs,
Address[] vus,
Address[] inv)
cmd - SMTP サーバに送信したコマンドrc - 失敗を示す SMTP リターンコードerr - SMTP サーバからのエラー文字列| メソッドの詳細 |
|---|
public String getCommand()
public int getReturnCode()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||