Class BaseServiceException.ExceptionData (2.26.0)

See more code actions.
public static final class BaseServiceException.ExceptionData implements Serializable
java.lang.Object > BaseServiceException.ExceptionData
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

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

newBuilder()

public static BaseServiceException.ExceptionData.Builder newBuilder()

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