MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / make

Method make

src/RemoteException.java:54–61  ·  view source on GitHub ↗
(final Object msg, final HBaseRpc rpc)

Source from the content-addressed store, hash-verified

52 }
53
54 @Override
55 RemoteException make(final Object msg, final HBaseRpc rpc) {
56 if (msg == this || msg instanceof RemoteException) {
57 final RemoteException e = (RemoteException) msg;
58 return new RemoteException(e.getType(), e.getMessage());
59 }
60 return new RemoteException(msg.getClass().getName(), msg.toString());
61 }
62
63 private static final long serialVersionUID = 1279775242;
64

Callers

nothing calls this directly

Calls 3

getTypeMethod · 0.95
getMessageMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected