Examples of EmptyRequestProto


Examples of org.apache.hadoop.ipc.protobuf.TestProtos.EmptyRequestProto

  }

  @Test (timeout=5000)
  public void testProtoBufRandomException() throws Exception {
    TestRpcService client = getClient();
    EmptyRequestProto emptyRequest = EmptyRequestProto.newBuilder().build();

    try {
      client.error2(null, emptyRequest);
    } catch (ServiceException se) {
      Assert.assertTrue(se.getCause() instanceof RemoteException);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.