Exception thrown due to an unknown error. An example of where this error may be returned is if a
Status value received from another address space belongs to an error-space that is not known in
this address space. Also errors raised by APIs that do not return enough error information may be
converted to this error.
[[["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 details the \u003ccode\u003eUnknownException\u003c/code\u003e class in the Google API Client Library for Java (gax), a subclass of \u003ccode\u003eApiException\u003c/code\u003e that represents errors of an unspecified nature.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnknownException\u003c/code\u003e is thrown when an error occurs that does not fit into a known error category, or when insufficient error information is provided by an API, and it can occur when a \u003ccode\u003eStatus\u003c/code\u003e value from an unknown error-space is received.\u003c/p\u003e\n"],["\u003cp\u003eThe class has three constructors that can be used to instantiate it, each providing different ways to specify the exception's message, underlying cause, status code, retryability, and error details.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides access to documentation for \u003ccode\u003eUnknownException\u003c/code\u003e across a wide range of version releases, starting with \u003ccode\u003e2.63.1 (latest)\u003c/code\u003e down to version \u003ccode\u003e2.7.1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides inherited members such as \u003ccode\u003eApiException.getDomain()\u003c/code\u003e and \u003ccode\u003eObject.wait(long,int)\u003c/code\u003e for the \u003ccode\u003eUnknownException\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]