public blogView(blogUser user, String prefPath) throws blogException
{
this.user = user; //set active user
try
{
pref = new Preferences(prefPath);
}
catch (ParserConfigurationException e) { throw new blogException("Cannot load preferences file. Message: " + e.getMessage()); }
catch (SAXException e) { throw new blogException("Cannot load preferences file. Message: " + e.getMessage()); }
catch (IOException e) { throw new blogException("Cannot load preferences file. Message: " + e.getMessage()); }
}