@Test
@Disabled
public void testCustomException() {

    XmlRpcServiceImpl server = new XmlRpcServiceImpl();
    ProxyFactory proxyFactory = ExtensionLoader.getExtensionLoader(ProxyFactory.class).getAdaptiveExtension();
    Protocol protocol = ExtensionLoader.getExtensionLoader(Protocol.class).getAdaptiveExtension();
    int port = NetUtils.getAvailablePort();
    URL url = URL.valueOf("xmlrpc://127.0.0.1:" + port + "/" +
            XmlRpcService.class.getName() + "?version=1.0.0&server=jetty9");
    Exporter<XmlRpcService> exporter = protocol.export(proxyFactory.getInvoker(server, XmlRpcService.class, url));
    Invoker<XmlRpcService> invoker = protocol.refer(XmlRpcService.class, url);
    XmlRpcService client = proxyFactory.getProxy(invoker);
    try {
        client.customException();
        Assertions.fail();
    } catch (XmlRpcServiceImpl.MyException expected) {
    }
    invoker.destroy();
    exporter.unexport();
}