| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ErrorItem |
build() |
ErrorItem.Builder |
data(Map<String,String> data)
Sets the builder's data
|
ErrorItem.Builder |
errorType(String errorType)
Sets the builder's errorType
|
ErrorItem.Builder |
errorTypeCode(String errorTypeCode)
Sets the builder's errorTypeCode
|
ErrorItem.Builder |
innerError(ErrorItem innerError)
Sets the builder's innerError
|
ErrorItem.Builder |
message(String message)
Sets the builder's message
|
ErrorItem.Builder |
sourceMethod(String sourceMethod)
Sets the builder's sourceMethod
|
ErrorItem.Builder |
stackTrace(List<TraceFrame> stackTrace)
Sets the builder's stackTrace
|
public ErrorItem.Builder message(String message)
message - The message to be setpublic ErrorItem.Builder errorType(String errorType)
errorType - The errorType to be setpublic ErrorItem.Builder errorTypeCode(String errorTypeCode)
errorTypeCode - The errorTypeCode to be setpublic ErrorItem.Builder data(Map<String,String> data)
data - The data to be setpublic ErrorItem.Builder sourceMethod(String sourceMethod)
sourceMethod - The sourceMethod to be setpublic ErrorItem.Builder stackTrace(List<TraceFrame> stackTrace)
stackTrace - The stackTrace to be setpublic ErrorItem.Builder innerError(ErrorItem innerError)
innerError - The innerError to be setpublic ErrorItem build()
Copyright © 2019 Stackify, LLC. All rights reserved.