Class BaseServiceException.ExceptionData (2.8.7)

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
NameDescription
codeint
messageString
reasonString
retryableboolean
Returns
TypeDescription
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
NameDescription
codeint
messageString
reasonString
retryableboolean
causeThrowable
Returns
TypeDescription
BaseServiceException.ExceptionData

newBuilder()

public static BaseServiceException.ExceptionData.Builder newBuilder()
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

Methods

getCause()

public Throwable getCause()
Returns
TypeDescription
Throwable

getCode()

public int getCode()
Returns
TypeDescription
int

getDebugInfo()

public String getDebugInfo()
Returns
TypeDescription
String

getLocation()

public String getLocation()
Returns
TypeDescription
String

getMessage()

public String getMessage()
Returns
TypeDescription
String

getReason()

public String getReason()
Returns
TypeDescription
String

isRetryable()

public boolean isRetryable()
Returns
TypeDescription
boolean