@ComponentProfile(summary="MaxLoopBehaviour implementation that throws a ServiceException.", since="3.9.1") public class OnMaxThrowException extends java.lang.Object implements MaxLoopBehaviour
MaxLoopBehaviour
implementation that throws a ServiceException
.
When the maximum number of loops is hit; an exception is thrown.
In the adapter configuration file this class is aliased as max-loops-throw-exception which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
OnMaxThrowException() |
Modifier and Type | Method and Description |
---|---|
void |
onMax(AdaptrisMessage msg) |
public void onMax(AdaptrisMessage msg) throws java.lang.Exception
onMax
in interface MaxLoopBehaviour
java.lang.Exception