System.err.println("Invalid device preference file.");
e.printStackTrace();
}
catch (SAXException e) {
System.err.println("Invalid device preference file.");
e.printStackTrace();
}
catch (FileNotFoundException fnfe) {
System.err.println("Device Preference file not found.");
System.err.println("This file will be created (if allowed).");
if ((devicePreferences.getScanServer() == null)