Class BaseServiceException.ExceptionData (2.37.0)

public static final class BaseServiceException.ExceptionData implements Serializable

Inheritance

java.lang.Object > BaseServiceException.ExceptionData

Implements

Serializable

Static Methods

from(int code, String message, String reason, boolean retryable)

public static BaseServiceException.ExceptionData from(int code, String message, String reason, boolean retryable)
Parameters
Name Description
code int
message String
reason String
retryable boolean
Returns
Type Description
BaseServiceException.ExceptionData

from(int code, String message, String reason, boolean retryable, Throwable cause)

public static BaseServiceException.ExceptionData from(int code, String message, String reason, boolean retryable, Throwable cause)
Parameters
Name Description
code int
message String
reason String
retryable boolean
cause Throwable
Returns
Type Description
BaseServiceException.ExceptionData

newBuilder()

public static BaseServiceException.ExceptionData.Builder newBuilder()
Returns
Type Description
BaseServiceException.ExceptionData.Builder

Methods

getCause()

public Throwable getCause()
Returns
Type Description
Throwable

getCode()

public int getCode()
Returns
Type Description
int

getDebugInfo()

public String getDebugInfo()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getMessage()

public String getMessage()
Returns
Type Description
String

getReason()

public String getReason()
Returns
Type Description
String

isRetryable()

public boolean isRetryable()
Returns
Type Description
boolean