Package com.helger.phase4.incoming
Interface IAS4RequestHandlerErrorConsumer
public interface IAS4RequestHandlerErrorConsumer
A callback interface to be notified about returned errors.
- Since:
- 0.9.10
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAS4ErrorMessage(IAS4IncomingMessageState aIncomingState, com.helger.commons.collection.impl.ICommonsList<Ebms3Error> aEbmsErrors, AS4ErrorMessage aAS4ErrorMsg) Invoked when an AS4 error message is created.
-
Method Details
-
onAS4ErrorMessage
void onAS4ErrorMessage(@Nonnull IAS4IncomingMessageState aIncomingState, @Nonnull @Nonempty com.helger.commons.collection.impl.ICommonsList<Ebms3Error> aEbmsErrors, @Nonnull AS4ErrorMessage aAS4ErrorMsg) Invoked when an AS4 error message is created. This doesn't mean that the response message is also sent back - that can be configured in the P-Mode.- Parameters:
aIncomingState- The current message processing state. Nevernull.aEbmsErrors- The list of errors that occurred. Neithernullnor empty. Never modify that list.aAS4ErrorMsg- The filled AS4 error message to be returned. Don't touch. Nevernull.
-