protected Hashtable readMap()

in src/main/java/org/apache/openejb/cts/deploy/StandardDeployment14.java [756:776]


  protected Hashtable readMap() throws IOException {
    Hashtable result = null;
    File inFile = new File(deployStateFile);
    if (inFile.isFile()) {
      ObjectInputStream oin = null;
      try {
        oin = new ObjectInputStream(new FileInputStream(deployStateFile));
        result = (Hashtable) (oin.readObject());
      } catch (IOException e) {
        throw e;
      } catch (ClassNotFoundException cnfe) {
        cnfe.printStackTrace();
      } finally {
        try {
          oin.close();
        } catch (Exception ee) {
        }
      }
    }
    return result;
  }