public static class ErrorItem.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ErrorItem |
build() |
ErrorItem.Builder |
data(java.util.Map<java.lang.String,java.lang.String> data)
Sets the builder's data
|
ErrorItem.Builder |
errorType(java.lang.String errorType)
Sets the builder's errorType
|
ErrorItem.Builder |
errorTypeCode(java.lang.String errorTypeCode)
Sets the builder's errorTypeCode
|
ErrorItem.Builder |
innerError(ErrorItem innerError)
Sets the builder's innerError
|
ErrorItem.Builder |
message(java.lang.String message)
Sets the builder's message
|
ErrorItem.Builder |
sourceMethod(java.lang.String sourceMethod)
Sets the builder's sourceMethod
|
ErrorItem.Builder |
stackTrace(java.util.List<TraceFrame> stackTrace)
Sets the builder's stackTrace
|
public ErrorItem.Builder message(java.lang.String message)
message - The message to be setpublic ErrorItem.Builder errorType(java.lang.String errorType)
errorType - The errorType to be setpublic ErrorItem.Builder errorTypeCode(java.lang.String errorTypeCode)
errorTypeCode - The errorTypeCode to be setpublic ErrorItem.Builder data(java.util.Map<java.lang.String,java.lang.String> data)
data - The data to be setpublic ErrorItem.Builder sourceMethod(java.lang.String sourceMethod)
sourceMethod - The sourceMethod to be setpublic ErrorItem.Builder stackTrace(java.util.List<TraceFrame> stackTrace)
stackTrace - The stackTrace to be setpublic ErrorItem.Builder innerError(ErrorItem innerError)
innerError - The innerError to be setpublic ErrorItem build()
Copyright © 2017 Stackify, LLC. All Rights Reserved.