@InternalApi public static final class BaseServiceException.ExceptionData extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BaseServiceException.ExceptionData.Builder |
Modifier and Type | Method and Description |
---|---|
static BaseServiceException.ExceptionData |
from(int code,
String message,
String reason,
boolean retryable) |
static BaseServiceException.ExceptionData |
from(int code,
String message,
String reason,
boolean retryable,
Throwable cause) |
Throwable |
getCause() |
int |
getCode() |
String |
getDebugInfo() |
String |
getLocation() |
String |
getMessage() |
String |
getReason() |
boolean |
isRetryable() |
static BaseServiceException.ExceptionData.Builder |
newBuilder() |
public String getMessage()
public Throwable getCause()
public int getCode()
public boolean isRetryable()
public String getReason()
public String getLocation()
public String getDebugInfo()
public static BaseServiceException.ExceptionData.Builder newBuilder()
public static BaseServiceException.ExceptionData from(int code, String message, String reason, boolean retryable)
public static BaseServiceException.ExceptionData from(int code, String message, String reason, boolean retryable, Throwable cause)
Copyright © 2019 Google LLC. All rights reserved.