throw SmartFrogException.forward(e);
throw new SmartFrogException("Failed to create temp file prefix="+prefix +" suffix="+suffix +" dir="+dir, e);
    public static File createTempFile(String prefix, String suffix, String dir) throws SmartFrogException {        File file;        try {            if (dir == null) {                file = File.createTempFile(prefix, suffix);            } else {                File directory = new File(dir);                directory.mkdirs();                file = File.createTempFile(prefix, suffix, directory);            }        } catch (IOException e) {            throw SmartFrogException.forward(e);        }        return file;    }