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

Method make

src/VersionMismatchException.java:56–63  ·  view source on GitHub ↗
(final Object msg, final HBaseRpc rpc)

Source from the content-addressed store, hash-verified

54 }
55
56 @Override
57 VersionMismatchException make(final Object msg, final HBaseRpc rpc) {
58 if (msg == this || msg instanceof VersionMismatchException) {
59 final VersionMismatchException e = (VersionMismatchException) msg;
60 return new VersionMismatchException(e.getMessage(), rpc);
61 }
62 return new VersionMismatchException(msg.toString(), rpc);
63 }
64
65 private static final long serialVersionUID = 1324486442;
66

Callers

nothing calls this directly

Calls 2

getMessageMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected