Interface Validator<S,​P>

    • Method Detail

      • validate

        void validate​(S message,
                      P profile)
        Parameters:
        message - message to be validated
        profile - profile to be validated against
        Throws:
        ValidationException - if the validation has failed due to non-conformance or internal errors