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

Method getMessage

src/RegionMovedException.java:52–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 @Override
53 public String getMessage() {
54 // In many cases this exception never makes it to the outside world, thus
55 // its toString / getMessage methods are never called. When it's called,
56 // it's typically called only once. So it makes sense to lazily generate
57 // the message instead of always concatenating the toString representation
58 // of the RPC, which is easily large because it tends to contain long byte
59 // arrays.
60 return super.getMessage() + "\nCaused by RPC: " + failed_rpc;
61 }
62
63 public HBaseRpc getFailedRpc() {
64 return failed_rpc;

Callers 15

makeMethod · 0.45
makeMethod · 0.45
makeMethod · 0.45
makeMethod · 0.45
failOrRetryRpcsMethod · 0.45
deserializeMethod · 0.45
makeMethod · 0.45
makeMethod · 0.45
makeMethod · 0.45
makeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected