Package com.trifork.riak.RPB

Examples of com.trifork.riak.RPB.RpbErrorResp


  byte[] receive(int code) throws IOException {
    int len = din.readInt();
    int get_code = din.read();

    if (code == RiakClient.MSG_ErrorResp) {
      RpbErrorResp err = com.trifork.riak.RPB.RpbErrorResp.parseFrom(din);
      throw new RiakError(err);
    }

    byte[] data = null;
    if (len > 1) {
View Full Code Here


  void receive_code(int code) throws IOException, RiakError {
    int len = din.readInt();
    int get_code = din.read();
    if (code == RiakClient.MSG_ErrorResp) {
      RpbErrorResp err = com.trifork.riak.RPB.RpbErrorResp.parseFrom(din);
      throw new RiakError(err);
    }
    if (len != 1 || code != get_code) {
      throw new IOException("bad message code");
    }
View Full Code Here

TOP

Related Classes of com.trifork.riak.RPB.RpbErrorResp

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.