import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
+import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;
public void run() {
DialogUtil.openErrorDialog(resources
.getString("GenRootDlg.Error.Snapshot.Failed")
- + "(" + e.toString() + ")");
+ + "(" + e.getMessage() + ")");
}
});
}
});
} catch (InvocationTargetException e1) {
e1.printStackTrace();
- DialogUtil.openErrorDialog(e.toString());
+ DialogUtil.openErrorDialog(e1.toString());
return;
} catch (InterruptedException e1) {
e1.printStackTrace();
- DialogUtil.openErrorDialog(e.toString());
+ DialogUtil.openErrorDialog(e1.toString());
return;
}
GenRootDlg.Error.Fail.Generate = Failed to generate rootstrap!
GenRootDlg.Error.Empty.Snapshot = Snapshot URL is empty
GenRootDlg.Error.Empty.Rootstrap = Rootstrap is empty
-GenRootDlg.Error.Snapshot.Failed = Getting snapshot information failed!\n
+GenRootDlg.Error.Snapshot.Failed = Failed to get snapshot information!\n
GenRootDlg.Error.Gen.Rootstrap.Failed = Generating rootstrap failed!!\n
GenRootDlg.Error.NoAnyRepos = You need to set repositories. Input snapshot URL and click the "Search" button.
GenRootDlg.Error.Incorrect.Info = Failed to validate information for generating rootstrap.