phax / as2-peppol

AS2 handler for the use with Peppol
Apache License 2.0
8 stars 5 forks source link

Create custom handler for validation errors #3

Closed phax closed 5 years ago

phax commented 5 years ago

Currently

    if (aValidationResult.containsAtLeastOneError ())
      throw new AS2ClientBuilderValidationException (aValidationResult);

-> add consumer

phax commented 5 years ago

v3.0.7

phax commented 5 years ago

The new interface IAS2ClientBuilderValidatonResultHandler can be set into the AS2ClientBuilder using the method setValidatonResultHandler