@Published public class HttpMessagingException extends MessagingException
コンストラクタと説明 |
---|
HttpMessagingException()
詳細メッセージに
null を使用して、HttpMessagingException を構築する。 |
HttpMessagingException(String message)
指定された詳細メッセージを使用して、
HttpMessagingException を構築する。 |
HttpMessagingException(String targetUrl,
Integer statusCode,
Throwable cause)
指定された起因となる例外を使用し、例外発生時の接続先及びHTTPステータスコードを指定して
HttpMessagingException を構築する。 |
HttpMessagingException(String message,
String targetUrl,
Integer statusCode,
Throwable cause)
指定された詳細メッセージおよび起因となる例外を使用し、
例外発生時の接続先及びHTTPステータスコードを指定して
HttpMessagingException を構築する。 |
HttpMessagingException(String message,
Throwable cause)
指定された詳細メッセージおよび起因となる例外を使用して、
HttpMessagingException を構築する。 |
HttpMessagingException(Throwable cause)
指定された起因となる例外を使用して、
HttpMessagingException を構築する。 |
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getMessage()
メッセージには以下の内容が含まれる。
|
Integer |
getStatusCode()
例外発生時のHTTPステータスコードを取得する。
|
String |
getTargetUrl()
例外発生時の接続先を取得する。
|
void |
setStatusCode(Integer statusCode)
例外発生時のHTTPステータスコードを設定する。
|
void |
setTargetUrl(String targetUrl)
例外発生時の接続先を設定する。
|
public HttpMessagingException()
null
を使用して、HttpMessagingException
を構築する。public HttpMessagingException(String message, Throwable cause)
HttpMessagingException
を構築する。message
- 詳細メッセージcause
- 起因となる例外public HttpMessagingException(String message)
HttpMessagingException
を構築する。message
- 詳細メッセージpublic HttpMessagingException(Throwable cause)
HttpMessagingException
を構築する。cause
- 起因となる例外public HttpMessagingException(String targetUrl, Integer statusCode, Throwable cause)
HttpMessagingException
を構築する。targetUrl
- 例外発生時の接続先statusCode
- HTTPステータスコードcause
- 起因となる例外public String getMessage()
getMessage
クラス内 Throwable
public String getTargetUrl()
public void setTargetUrl(String targetUrl)
targetUrl
- 接続先URLpublic Integer getStatusCode()
public void setStatusCode(Integer statusCode)
statusCode
- HTTPステータスコード