private void deserializeClass(File file) throws RuntimeException {
  try {
    FileInputStream in=new FileInputStream(file);
    ObjectInputStream objIn=new ObjectInputStream(in);
    Object o=objIn.readObject();
    in.close();
  }
 catch (  ClassNotFoundException e) {
    throw new RuntimeException("There is no class in the model API " + "to deserialize the object in " + file + ". Perhaps the "+ "class was renamed, moved to another package, or removed. "+ "In any case, please put it back where it was.",e);
  }
catch (  IOException e) {
    throw new RuntimeException("There was an I/O error associated with " + "the process of deserializing the file " + file + ".",e);
  }
}

private void deserializeClass ( File file ) throws RuntimeException { try { FileInputStream in = new FileInputStream ( file ) ; ObjectInputStream objIn = new ObjectInputStream ( in ) ; Object o = objIn . readObject ( ) ; in . close ( ) ; } catch ( ClassNotFoundException e ) { throw new RuntimeException ( "There is no class in the model API " + "to deserialize the object in " + file + ". Perhaps the " + "class was renamed, moved to another package, or removed. " + "In any case, please put it back where it was." , e ) ; } catch ( IOException e ) { throw new RuntimeException ( "There was an I/O error associated with " + "the process of deserializing the file " + file + "." , e ) ; } }
deserializes the information in the given file , returning the object represented .
