Package com.google.cloud
Class BaseServiceException.ExceptionData
- java.lang.Object
-
- com.google.cloud.BaseServiceException.ExceptionData
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BaseServiceException
@InternalApi public static final class BaseServiceException.ExceptionData extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseServiceException.ExceptionData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getMessage
public String getMessage()
-
getCause
public Throwable getCause()
-
getCode
public int getCode()
-
isRetryable
public boolean isRetryable()
-
getReason
public String getReason()
-
getLocation
public String getLocation()
-
getDebugInfo
public String getDebugInfo()
-
newBuilder
public static BaseServiceException.ExceptionData.Builder newBuilder()
-
from
public static BaseServiceException.ExceptionData from(int code, String message, String reason, boolean retryable)
-
from
public static BaseServiceException.ExceptionData from(int code, String message, String reason, boolean retryable, Throwable cause)
-
-