155156157158159160161162
} confPath += "DBMconfig"; try { config = new Config(new File(confPath)); } catch (ClassNotFoundException ex) { throw new FileCorruptedException(); } }
183184185186187188189190191192
User user; try { user = (User) in.readObject(); } catch (ClassNotFoundException e) { throw new FileCorruptedException(); } in.close(); return user; }