if (error instanceof Exception)
((Exception) error).printStackTrace();
deviceExceptions.add(error);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new FlashMsg(ZoeosFrame.getInstance(), ZoeosFrame.getInstance(), 1000, 250, FlashMsg.colorError, "Communications Error: " + remote.getName());
}
});
if (deviceExceptions.size() >= remote.getRemotePreferences().ZPREF_commErrorThreshold.getValue()) {
StringBuffer buf = new StringBuffer();
for (int i = 0; i < deviceExceptions.size(); i++) {