Interface ErrorServerFieldSet
-
- All Known Implementing Classes:
ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,ErrorTradeEvent
,RejectTradeEvent
,RejectTradeEvent
,RejectTradeEvent
,RejectTradeEvent
,RejectTradeEvent
,RejectTradeEvent
public interface ErrorServerFieldSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addField(java.lang.String fieldName, java.lang.Object value)
Adds a field to this eventdefault void
setErrorCode(java.lang.Object value)
A code for the error message.default void
setErrorMessage(java.lang.Object value)
The error message
-
-
-
Method Detail
-
addField
void addField(java.lang.String fieldName, java.lang.Object value)
Adds a field to this event- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
setErrorCode
default void setErrorCode(java.lang.Object value)
A code for the error message. The client will display a translation of this code using i18n- Parameters:
value
- The value to be set passed by i18n
-
setErrorMessage
default void setErrorMessage(java.lang.Object value)
The error message- Parameters:
value
- The value to be set passed by i18n
-
-