Class RepositoryAsyncEventListener.AsyncEventError

java.lang.Object
org.springframework.geode.cache.RepositoryAsyncEventListener.AsyncEventError
Enclosing class:
RepositoryAsyncEventListener<T,ID>

public static class RepositoryAsyncEventListener.AsyncEventError extends Object
RepositoryAsyncEventListener.AsyncEventError is a wrapper class encapsulating the AsyncEvent along with the error that was thrown while processing the event.
See Also:
  • Constructor Details

  • Method Details

    • getCause

      @NonNull public Throwable getCause()
      Gets the Throwable thrown while processing the AsyncEvent.
      Returns:
      the Throwable thrown while processing the AsyncEvent.
      See Also:
    • getEvent

      @NonNull public org.apache.geode.cache.asyncqueue.AsyncEvent<?,?> getEvent()
      Gets the AsyncEvent being processed when the error occurred.
      Returns:
      the AsyncEvent being processed when the error occurred.
      See Also:
      • AsyncEvent
    • toString

      public String toString()
      Overrides:
      toString in class Object