Class BaseServiceException.ExceptionData.Builder (2.8.27)

public static final class BaseServiceException.ExceptionData.Builder

Inheritance

java.lang.Object > BaseServiceException.ExceptionData.Builder

Methods

build()

public BaseServiceException.ExceptionData build()
Returns
TypeDescription
BaseServiceException.ExceptionData

setCause(Throwable cause)

public BaseServiceException.ExceptionData.Builder setCause(Throwable cause)
Parameter
NameDescription
causeThrowable
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

setCode(int code)

public BaseServiceException.ExceptionData.Builder setCode(int code)
Parameter
NameDescription
codeint
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

setDebugInfo(String debugInfo)

public BaseServiceException.ExceptionData.Builder setDebugInfo(String debugInfo)
Parameter
NameDescription
debugInfoString
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

setLocation(String location)

public BaseServiceException.ExceptionData.Builder setLocation(String location)
Parameter
NameDescription
locationString
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

setMessage(String message)

public BaseServiceException.ExceptionData.Builder setMessage(String message)
Parameter
NameDescription
messageString
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

setReason(String reason)

public BaseServiceException.ExceptionData.Builder setReason(String reason)
Parameter
NameDescription
reasonString
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder

setRetryable(boolean retryable)

public BaseServiceException.ExceptionData.Builder setRetryable(boolean retryable)
Parameter
NameDescription
retryableboolean
Returns
TypeDescription
BaseServiceException.ExceptionData.Builder