[[["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 within the Google API Client Libraries for Java (gax) library, offering a resource to find the correct type of exception from a given status code.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version of \u003ccode\u003eApiExceptionFactory\u003c/code\u003e is 2.63.1, with this page displaying documentation starting at 2.43.0 and extending through 2.63.1, including versions in between.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiExceptionFactory\u003c/code\u003e class has static methods for creating \u003ccode\u003eApiException\u003c/code\u003e instances, allowing for exceptions to be generated with parameters like a message, cause, status code, retryability, and error details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiExceptionFactory\u003c/code\u003e inherits members from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, and it is used to create specific exception types based on the status code provided, and it contains documented parameters and return types for its creation methods.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eApiExceptionFactory\u003c/code\u003e has three different overloads of \u003ccode\u003ecreateException()\u003c/code\u003e that each return \u003ccode\u003eApiException\u003c/code\u003e, and take various combinations of \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 parameters.\u003c/p\u003e\n"]]],[],null,[]]