Package com.streambase.liveview.client
Class QueryExceptionEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.streambase.liveview.client.AbstractQueryEvent
-
- com.streambase.liveview.client.QueryExceptionEvent
-
- All Implemented Interfaces:
Serializable
public final class QueryExceptionEvent extends AbstractQueryEvent
The event dispatched when a query exception occurs.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description QueryExceptionEvent(Object source, LiveViewException exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(QueryListener listener)
Dispatches this event to the listenerLiveViewException
getException()
Get the exception-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
QueryExceptionEvent
public QueryExceptionEvent(Object source, LiveViewException exception)
- Parameters:
source
- the source of the eventexception
- the exception that occurred
-
-
Method Detail
-
getException
public LiveViewException getException()
Get the exception- Returns:
- the exception that occurred
-
dispatch
public void dispatch(QueryListener listener)
Dispatches this event to the listener- Specified by:
dispatch
in classAbstractQueryEvent
- Parameters:
listener
- the query listener
-
-