public static class XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder extends Object
Constructor and Description |
---|
XPFStructuredErrorMessageBuilder() |
Modifier and Type | Method and Description |
---|---|
XPFStructuredErrorMessage |
build()
Build.
|
XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder |
withData(Map<String,String> data)
With data.
|
XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder |
withData(String key,
String value)
With data.
|
XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder |
withDebugMessage(String debugMessage)
With debug message.
|
XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder |
withMessageId(String messageId)
With message id.
|
XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder |
withResolution(XPFStructuredErrorResolution resolution)
With resolution.
|
XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder |
withType(XPFStructuredErrorMessageType type)
With type.
|
public XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder withType(XPFStructuredErrorMessageType type)
type
- the structured error message type.public XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder withMessageId(String messageId)
messageId
- the message idpublic XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder withDebugMessage(String debugMessage)
debugMessage
- the debug messagepublic XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder withData(String key, String value)
key
- the keyvalue
- the valuepublic XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder withData(Map<String,String> data)
data
- the datapublic XPFStructuredErrorMessage.XPFStructuredErrorMessageBuilder withResolution(XPFStructuredErrorResolution resolution)
resolution
- the resolutionpublic XPFStructuredErrorMessage build()
Copyright © 2024. All rights reserved.