Interface ExceptionHandlerConfigAware

All Known Implementing Classes:
ChannelAdaptor, MultiSessionChannelAdaptor

Adds the logic for parsing exception handler pipeline configurations to any implementing class.
Since:
2.1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    addExceptionHandlers(ExceptionHandlerAware receiver, org.jdom2.Element elem, QFactory fact)
    Parses exception-handler child elements from elem and registers them with receiver.
  • Method Details

    • addExceptionHandlers

      default void addExceptionHandlers(ExceptionHandlerAware receiver, org.jdom2.Element elem, QFactory fact) throws ConfigurationException
      Parses exception-handler child elements from elem and registers them with receiver.
      Parameters:
      receiver - the object that will receive the configured handlers
      elem - the XML element containing exception-handler children
      fact - the QFactory used to instantiate handler classes
      Throws:
      ConfigurationException - if a handler class cannot be found or configured