FINERACT-176: fixed missing throw exception in Teller module

- Fixed missing throw exception for validation errors in Teller Module
- added unit tests to confirm changes to TellerCommandFromApiJsonDeserializer

ReportedBy: subramanyasn
This commit is contained in:
edk12564
2026-02-17 10:37:06 +00:00
committed by Adam Saghy
parent 2ff0c62f40
commit 588b831f8f
2 changed files with 115 additions and 0 deletions
@@ -199,5 +199,7 @@ public final class TellerCommandFromApiJsonDeserializer {
final String currencyCode = this.fromApiJsonHelper.extractStringNamed(CURRENCY_CODE, element);
baseDataValidator.reset().parameter(CURRENCY_CODE).value(currencyCode).notExceedingLengthOf(3);
throwExceptionIfValidationWarningsExist(dataValidationErrors);
}
}