Class DataCountFailedEvent

All Implemented Interfaces:
Serializable

public class DataCountFailedEvent extends AbstractDataCountEvent
Event fired through the service event bus when a count query threw, before the matching DataCountEndedEvent. The framework propagates the throwable independently of this event.
Since:
25.3
See Also:
  • Constructor Details

    • DataCountFailedEvent

      public DataCountFailedEvent(UI ui, Component component, boolean filtered, Throwable error)
      Creates a new event.
      Parameters:
      ui - the UI the counting component belongs to, not null
      component - the component whose data is being counted, or null if it could not be resolved
      filtered - whether a filter was set on the query
      error - the throwable raised by the data provider
  • Method Details

    • getError

      public Throwable getError()
      Gets the throwable raised by the data provider.
      Returns:
      the throwable