Interface ErrorServerFieldSet
- All Known Implementing Classes:
CancelRejectTradeEvent,ChangeStateRejectTradeEvent,ErrorTradeEvent,ErrorTradeEvent,ErrorTradeEvent,ErrorTradeEvent,ErrorTradeEvent,ErrorTradeEvent,ErrorTradeEvent,RejectTradeEvent,ValidationErrorTradeEvent
public interface ErrorServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a field to this eventdefault voidsetErrorCode(Object value) A code for the error message.default voidsetErrorMessage(Object value) The error message
-
Method Details
-
addField
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 aStringusingBigDecimal.toPlainString()
-
setErrorCode
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
The error message- Parameters:
value- The value to be set passed by i18n
-