+ private final ExceptionMapper<DOMRpcException> domRpcExceptionMapper =
+ new ExceptionMapper<DOMRpcException>("invokeRpc", DOMRpcException.class) {
+ @Override
+ protected DOMRpcException newWithCause(String message, Throwable cause) {
+ return new ClusteringRpcException(id + ": Exception during remote rpc invocation.", cause);
+ }
+ };
+