public void run() { while(true) { try { UpdateSet update = pc.waitForUpdates(version); PropertyFilterUpdate[] pfu = update.getFilterSet(); this.setChanged(); this.notifyObservers(pfu); version = update.getVersion(); } catch(NotAuthenticated na) { na.printStackTrace(); break; } catch(Exception e) { e.printStackTrace(); } } }
/** * Create an instance of {@link JAXBElement }{@code <}{@link NotAuthenticated }{@code >}} * */ @XmlElementDecl(namespace = "urn:pbm", name = "NotAuthenticatedFault") public JAXBElement<NotAuthenticated> createNotAuthenticatedFault(NotAuthenticated value) { return new JAXBElement<NotAuthenticated>(_NotAuthenticatedFault_QNAME, NotAuthenticated.class, null, value); }