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, specifically within the \u003ccode\u003ecom.google.api.gax.rpc\u003c/code\u003e package, which is version 2.57.0 and contains links to older versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUnknownException\u003c/code\u003e is a type of \u003ccode\u003eApiException\u003c/code\u003e that signifies an error due to an unknown cause, such as when an unexpected status value is received or when APIs do not return adequate error details.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eUnknownException\u003c/code\u003e includes constructors that can take parameters like a message, a throwable cause, a status code, and a boolean to indicate if the exception is retryable, with an additional constructor to include \u003ccode\u003eErrorDetails\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has inherited members such as \u003ccode\u003egetDomain()\u003c/code\u003e, \u003ccode\u003egetErrorDetails()\u003c/code\u003e, \u003ccode\u003egetMetadata()\u003c/code\u003e, \u003ccode\u003egetReason()\u003c/code\u003e, \u003ccode\u003egetStatusCode()\u003c/code\u003e, \u003ccode\u003eisRetryable()\u003c/code\u003e and other members from \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eThrowable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe content provides the documentation for the class in the \u003ccode\u003egax\u003c/code\u003e package, and the page has links to older versions of the \u003ccode\u003eUnknownException\u003c/code\u003e class, going back as far as version 2.7.1, with the latest version available being 2.63.1.\u003c/p\u003e\n"]]],[],null,[]]