リモート サービス ライブラリの例外
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
protorpc.remote
パッケージは、次の例外クラスを提供します。
- class ApplicationError()
- アプリケーション固有のエラーに対して送出されます。
- class MethodNotFoundError()
- RPC によって不明なメソッドがリクエストされた場合に送出されます。
- class NetworkError()
- RPC 中にネットワーク エラーが発生した場合に送出されます。
- class RequestError()
- メソッド呼び出し時に受信したリクエスト オブジェクトが正しくない場合に送出されます。
- class RpcError()
- このパッケージのすべての例外の基本クラスです。
- class ServerError()
- サーバー上で予期しないエラーが発生した場合に送出されます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-06-16 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-06-16 UTC。"],[[["`protorpc.remote` includes exception classes for handling various errors during remote procedure calls (RPCs)."],["`RpcError` serves as the base class for all exceptions within the `protorpc.remote` package."],["`ApplicationError` is raised for errors specific to the application, while `NetworkError` indicates network-related issues."],["`MethodNotFoundError` is thrown when an RPC requests an unknown method."],["`RequestError` is raised when the method receives an incorrect object type."]]],[]]