Class BaseServiceException.ExceptionData.Builder (2.51.0)

public static final class BaseServiceException.ExceptionData.Builder

Inheritance

java.lang.Object > BaseServiceException.ExceptionData.Builder

Methods

build()

public BaseServiceException.ExceptionData build()
Returns
Type Description
BaseServiceException.ExceptionData

setCause(Throwable cause)

public BaseServiceException.ExceptionData.Builder setCause(Throwable cause)
Parameter
Name Description
cause Throwable

setCode(int code)

public BaseServiceException.ExceptionData.Builder setCode(int code)
Parameter
Name Description
code int

setDebugInfo(String debugInfo)

public BaseServiceException.ExceptionData.Builder setDebugInfo(String debugInfo)
Parameter
Name Description
debugInfo String

setLocation(String location)

public BaseServiceException.ExceptionData.Builder setLocation(String location)
Parameter
Name Description
location String

setMessage(String message)

public BaseServiceException.ExceptionData.Builder setMessage(String message)
Parameter
Name Description
message String

setReason(String reason)

public BaseServiceException.ExceptionData.Builder setReason(String reason)
Parameter
Name Description
reason String

setRetryable(boolean retryable)

public BaseServiceException.ExceptionData.Builder setRetryable(boolean retryable)
Parameter
Name Description
retryable boolean