- final String message = String.format(
- "No remote implementation found for rpc %s", msg.getRpc());
- sender.tell(new akka.actor.Status.Failure(new RpcErrorsException(
- message, Arrays.asList(RpcResultBuilder.newError(ErrorType.RPC,
- "operation-not-supported", message)))), self);
+ sender.tell(new akka.actor.Status.Failure(new DOMRpcImplementationNotAvailableException(
+ "No remote implementation available for rpc %s", msg.getRpc())), self);