@Override public String Introspect() { String intro = connection.getObjectTree().Introspect(objectpath); if (null == intro) { ExportedObject eo = connection.getFallbackContainer().get(objectpath); if (null != eo) { intro = eo.getIntrospectiondata(); } } if (null == intro) { throw new UnknownObject("Introspecting on non-existant object"); } else { return "<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\" " + "\"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n" + intro; } }
fail("Method Execution should have failed"); } catch (UnknownObject ex) { System.out.println("Remote Method Failed with: " + ex.getClass().getName() + " " + ex.getMessage()); fail("Method Execution should have failed"); } catch (UnknownObject ex) { System.out.println("Remote Method Failed with: " + ex.getClass().getName() + " " + ex.getMessage());
new UnknownObject(m.getPath() + " is not an object provided by this process."))); return;