public class HttpRetryException extends IOException
| コンストラクタと説明 | 
|---|
| HttpRetryException(String detail, int code)指定された応答コードと例外詳細メッセージから、新しい HttpRetryExceptionを構築します。 | 
| HttpRetryException(String detail, int code, String location)詳細メッセージ、応答コード、およびLocation応答ヘッダー・フィールドの内容に基づいて、新しい HttpRetryExceptionを構築します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
| String | getLocation()リダイレクションが原因でエラーが発生した場合に、Locationヘッダー・フィールドの値を返します。 | 
| String | getReason()HTTP要求を再試行できなかった理由を説明する文字列を返します。 | 
| int | responseCode()HTTP応答コードを返します。 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpRetryException(String detail, int code)
HttpRetryExceptionを構築します。detail - 詳細メッセージ。code - サーバーからのHTTP応答コード。 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
 Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.