Package com.linkedin.databus.core

Examples of com.linkedin.databus.core.InvalidEventException


      errorEvent = _eventFactory.createErrorEvent(
          new DbusErrorEvent(exception, DbusEventInternalWritable.PULLER_RETRIES_EXPIRED));
    }
    else
    {
      throw new InvalidEventException("Got an unrecognizable exception ");
    }
    byte[] errorEventBytes = new byte[errorEvent.getRawBytes().limit()];

    if (LOG.isDebugEnabled())
    {
View Full Code Here


      buf = (ByteBuffer)reflectedBuf.get(event);
      pos = reflectedPosition.getInt(event);
    }
    catch (Exception e)
    {
      throw new InvalidEventException(e);
    }

    return (version == 0)? new DbusEventV1(buf, pos) : new DbusEventV2(buf, pos);
  }
View Full Code Here

TOP

Related Classes of com.linkedin.databus.core.InvalidEventException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.