Created
December 9, 2013 14:54
-
-
Save esaounkine/7873450 to your computer and use it in GitHub Desktop.
SMV multi-error sample (more examples at http://wiki.datamation.gr/x/OIBH)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SwiftMessage message = new SwiftMsgProcessor().ParseMsgStringToObject(messageContent); | |
SwiftMsgValidator validator = new SwiftMsgValidator(DEFAULT_CRLF); | |
SwiftValidObj validation = validator.validateMsg(message); | |
for(ValidationError error : validation.getValidationErrorList()) { | |
System.out.println(error.getTagName() + " => " + error.getDescription()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment