}
private boolean processErrorEvent(DispatcherState curState, DbusEventInternalReadable nextEvent)
{
boolean success = false;
DbusErrorEvent errorEvent = null;
if (nextEvent.isErrorEvent())
{
errorEvent = DbusEventSerializable.getErrorEventFromDbusEvent(nextEvent);
if (null == errorEvent)
{
_log.error("Null error event received at dispatcher");
}
else
{
_log.info("Delivering error event to consumers: " + errorEvent);
ConsumerCallbackResult callbackResult = ConsumerCallbackResult.ERROR;
try
{
callbackResult = _asyncCallback.onError(errorEvent.returnActualException());
}
catch (RuntimeException e)
{
_log.error("Internal onError error: " + e.getMessage(), e);
}