Interface ExceptionBus

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor

        org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyMutator, org.refcodes.eventbus.DispatchStrategyAccessor.DispatchStrategyProperty
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String onException​(java.lang.Class<?> aPublisherType, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(java.lang.Enum<?> aAction, java.lang.Class<?> aPublisherType, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(java.lang.Enum<?> aAction, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(java.lang.Enum<?> aAction, java.lang.String aChannel, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(java.lang.Enum<?> aAction, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(java.lang.String aChannel, org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
      default java.lang.String onException​(org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
      Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, java.lang.Class<?> aPublisherType)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, java.lang.Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, java.lang.String aChannel)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType)
      Publishes an event with the provided exception for the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, java.lang.String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, org.refcodes.observer.EventMetaData aEventMetaData)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Enum<?> aAction, java.lang.Exception aException, org.refcodes.observer.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, java.lang.Class<?> aPublisherType)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, java.lang.Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, java.lang.String aChannel)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, java.lang.String aChannel, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, org.refcodes.observer.EventMetaData aEventMetaData)
      Publishes an event with the provided exception and the given attributes.
      default void publishException​(java.lang.Exception aException, org.refcodes.observer.EventMetaData aEventMetaData, org.refcodes.eventbus.DispatchStrategy aStrategy)
      Publishes an event with the provided exception and the given attributes.
      • Methods inherited from interface org.refcodes.eventbus.DispatchStrategyAccessor

        getDispatchStrategy
      • Methods inherited from interface org.refcodes.observer.EventMatcher

        isMatching
      • Methods inherited from interface org.refcodes.eventbus.GenericBusObservable

        subscribe, subscribe, subscribe, unsubscribeAll
      • Methods inherited from interface org.refcodes.eventbus.GenericEventBus

        onAction, onAction, onActions, onActions, onAlias, onAlias, onCatchAll, onChannel, onChannel, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, onGroup, onGroup, onType, onUniversalId, onUniversalId, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent, publishEvent
      • Methods inherited from interface org.refcodes.component.HandleLookup

        hasHandle, lookupHandle, removeHandle
    • Method Detail

      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      java.lang.Class<?> aPublisherType)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which this represents.
        aException - The exception to be carried by the event.
        aPublisherType - The type of the event publisher.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      java.lang.String aChannel)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which this represents.
        aException - The exception to be carried by the event.
        aChannel - The channel name on which the event is receivable.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      java.lang.String aAlias,
                                      java.lang.String aGroup,
                                      java.lang.String aChannel,
                                      java.lang.String aUid,
                                      java.lang.Class<?> aPublisherType)
        Publishes an event with the provided exception for the given attributes.
        Parameters:
        aAction - The action which this represents.
        aException - The exception to be carried by the event.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      org.refcodes.observer.EventMetaData aEventMetaData)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which the event represents.
        aException - The exception to be carried by the event.
        aEventMetaData - The Meta-Data to by supplied by the event.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which the event represents.
        aException - The exception to be carried by the event.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      java.lang.Class<?> aPublisherType)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aPublisherType - The type of the event publisher.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      java.lang.String aChannel)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aChannel - The channel name on which the event is receivable.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      java.lang.String aAlias,
                                      java.lang.String aGroup,
                                      java.lang.String aChannel,
                                      java.lang.String aUid,
                                      java.lang.Class<?> aPublisherType)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      org.refcodes.observer.EventMetaData aEventMetaData)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aEventMetaData - The Meta-Data to by supplied by the event.
      • publishException

        default void publishException​(java.lang.Exception aException)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      java.lang.Class<?> aPublisherType,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which this represents.
        aException - The exception to be carried by the event.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      java.lang.String aChannel,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which this represents.
        aException - The exception to be carried by the event.
        aChannel - The channel name on which the event is receivable.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      java.lang.String aAlias,
                                      java.lang.String aGroup,
                                      java.lang.String aChannel,
                                      java.lang.String aUid,
                                      java.lang.Class<?> aPublisherType,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which this represents.
        aException - The exception to be carried by the event.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      org.refcodes.observer.EventMetaData aEventMetaData,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which the event represents.
        aException - The exception to be carried by the event.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Enum<?> aAction,
                                      java.lang.Exception aException,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aAction - The action which the event represents.
        aException - The exception to be carried by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      java.lang.Class<?> aPublisherType,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      java.lang.String aChannel,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aChannel - The channel name on which the event is receivable.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      java.lang.String aAlias,
                                      java.lang.String aGroup,
                                      java.lang.String aChannel,
                                      java.lang.String aUid,
                                      java.lang.Class<?> aPublisherType,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      org.refcodes.observer.EventMetaData aEventMetaData,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • publishException

        default void publishException​(java.lang.Exception aException,
                                      org.refcodes.eventbus.DispatchStrategy aStrategy)
        Publishes an event with the provided exception and the given attributes.
        Parameters:
        aException - The exception to be carried by the event.
        aStrategy - The DispatchStrategy to use when dispatching the event.
      • onException

        default java.lang.String onException​(org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances.
        Parameters:
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.Class<?> aPublisherType,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
        Parameters:
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.String aChannel,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.String aAlias,
                                             java.lang.String aGroup,
                                             java.lang.String aChannel,
                                             java.lang.String aUid,
                                             java.lang.Class<?> aPublisherType,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.Enum<?> aAction,
                                             java.lang.Class<?> aPublisherType,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
        Parameters:
        aAction - The action property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.Enum<?> aAction,
                                             java.lang.String aChannel,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
        Parameters:
        aAction - The action property.
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.Enum<?> aAction,
                                             java.lang.String aAlias,
                                             java.lang.String aGroup,
                                             java.lang.String aChannel,
                                             java.lang.String aUid,
                                             java.lang.Class<?> aPublisherType,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes.
        Parameters:
        aAction - The action property.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onException

        default java.lang.String onException​(java.lang.Enum<?> aAction,
                                             org.refcodes.observer.Observer<ExceptionBusEvent> aObserver)
        Similar to the more generic method GenericBusObservable.subscribe(EventMatcher, Observer) THOUGH subscribes for ExceptionBusEvent instances with the given attributes. Your Observable may be of the required type!
        Parameters:
        aAction - The action property.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.