[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eApiExceptionFactory\u003c/code\u003e class in the Google Cloud API client library for Java (\u003ccode\u003ecom.google.api.gax.rpc\u003c/code\u003e), with the latest version being 2.63.1 and many prior versions listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiExceptionFactory\u003c/code\u003e class is used to create specific types of exception classes based on a given status code.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiExceptionFactory\u003c/code\u003e class inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e and has methods like \u003ccode\u003ecreateException\u003c/code\u003e which have several overloaded variants to allow for different inputs, such as adding message, cause, statusCode, retryable, and errorDetails.\u003c/p\u003e\n"],["\u003cp\u003eThere are three overloaded static methods named \u003ccode\u003ecreateException\u003c/code\u003e that can be used to construct \u003ccode\u003eApiException\u003c/code\u003e instances, accepting parameters like \u003ccode\u003emessage\u003c/code\u003e, \u003ccode\u003ecause\u003c/code\u003e, \u003ccode\u003eStatusCode\u003c/code\u003e, \u003ccode\u003eretryable\u003c/code\u003e, and \u003ccode\u003eErrorDetails\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach method \u003ccode\u003ecreateException\u003c/code\u003e will return an \u003ccode\u003eApiException\u003c/code\u003e, which is a custom exception class within the Google Cloud API client library.\u003c/p\u003e\n"]]],[],null,[]]