@InternalApi public static final class BaseServiceException.ExceptionData.Builder extends Object
Modifier and Type | Method and Description |
---|---|
BaseServiceException.ExceptionData |
build() |
BaseServiceException.ExceptionData.Builder |
setCause(Throwable cause) |
BaseServiceException.ExceptionData.Builder |
setCode(int code) |
BaseServiceException.ExceptionData.Builder |
setDebugInfo(String debugInfo) |
BaseServiceException.ExceptionData.Builder |
setLocation(String location) |
BaseServiceException.ExceptionData.Builder |
setMessage(String message) |
BaseServiceException.ExceptionData.Builder |
setReason(String reason) |
BaseServiceException.ExceptionData.Builder |
setRetryable(boolean retryable) |
public BaseServiceException.ExceptionData.Builder setMessage(String message)
public BaseServiceException.ExceptionData.Builder setCause(Throwable cause)
public BaseServiceException.ExceptionData.Builder setCode(int code)
public BaseServiceException.ExceptionData.Builder setRetryable(boolean retryable)
public BaseServiceException.ExceptionData.Builder setReason(String reason)
public BaseServiceException.ExceptionData.Builder setLocation(String location)
public BaseServiceException.ExceptionData.Builder setDebugInfo(String debugInfo)
public BaseServiceException.ExceptionData build()
Copyright © 2019 Google LLC. All rights reserved.