org.axonframework.eventhandling
Class EventListenerSubscriptionFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by org.axonframework.common.AxonNonTransientException
                      extended by org.axonframework.eventhandling.EventListenerSubscriptionFailedException
All Implemented Interfaces:
Serializable

public class EventListenerSubscriptionFailedException
extends AxonNonTransientException

Exception indicating that the subscription of an Event Listener has not succeeded. Generally, it means that some pre-conditions set by the Event Bus implementation for the listener have not been met.

Since:
2.0
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
EventListenerSubscriptionFailedException(String message)
          Initializes the exception with given descriptive message.
EventListenerSubscriptionFailedException(String message, Throwable cause)
          Initializes the exception with given descriptive message and originating cause.
 
Method Summary
 
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOf
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventListenerSubscriptionFailedException

public EventListenerSubscriptionFailedException(String message)
Initializes the exception with given descriptive message.

Parameters:
message - The message describing the cause of the error

EventListenerSubscriptionFailedException

public EventListenerSubscriptionFailedException(String message,
                                                Throwable cause)
Initializes the exception with given descriptive message and originating cause.

Parameters:
message - The message describing the cause of the error
cause - The cause of the exception


Copyright © 2010-2016. All Rights Reserved.