Send feedback
Exception CheckedApiException (1.4.12)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.4.12 keyboard_arrow_down
public class CheckedApiException extends Exception
A wrapper around an ApiException that is a checked exception to help ensure correctness of
internal classes as well as ease construction of ApiExceptions. Should not be exposed in end-user
interfaces.
Static Methods
fromCode(StatusCode.Code code)
public static StatusCode fromCode(StatusCode.Code code)
Parameter
Returns
Constructors
CheckedApiException(ApiException underlying)
public CheckedApiException(ApiException underlying)
Parameter
CheckedApiException(StatusCode.Code code)
public CheckedApiException(StatusCode.Code code)
Parameter
CheckedApiException(String message, StatusCode.Code code)
public CheckedApiException(String message, StatusCode.Code code)
Parameters
CheckedApiException(String message, Throwable cause, StatusCode.Code code)
public CheckedApiException(String message, Throwable cause, StatusCode.Code code)
Parameters
CheckedApiException(Throwable cause, StatusCode.Code code)
public CheckedApiException(Throwable cause, StatusCode.Code code)
Parameters
Fields
underlying
public final ApiException underlying
Field Value
Methods
code()
public StatusCode.Code code()
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-29 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?