Class BaseServiceException.ExceptionData.Builder (2.37.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
Returns
Type Description
BaseServiceException.ExceptionData.Builder

setCode(int code)

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

setDebugInfo(String debugInfo)

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

setLocation(String location)

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

setMessage(String message)

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

setReason(String reason)

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

setRetryable(boolean retryable)

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