[Pydev-cvs] org.python.pydev.debug/src/org/python/pydev/debug/ui InterpreterTab.java, 1.2, 1.3
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-04-13 16:55:13
|
Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13464/src/org/python/pydev/debug/ui Modified Files: InterpreterTab.java Log Message: Better error message when launch config is not valid. Index: InterpreterTab.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/ui/InterpreterTab.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InterpreterTab.java 9 Mar 2008 14:27:59 -0000 1.2 --- InterpreterTab.java 13 Apr 2008 16:55:18 -0000 1.3 *************** *** 29,32 **** --- 29,33 ---- import org.python.pydev.core.docutils.WordUtils; import org.python.pydev.debug.core.Constants; + import org.python.pydev.debug.ui.launching.InvalidRunException; import org.python.pydev.debug.ui.launching.PythonRunnerConfig; import org.python.pydev.plugin.PydevPlugin; *************** *** 88,93 **** * @return a PythonRunnerConfig configured with the given launch configuration * @throws CoreException */ ! private PythonRunnerConfig getConfig(ILaunchConfiguration configuration, ILaunchConfigurationDialog launchConfigurationDialog) throws CoreException { String run; if (fInterpreterManager.isJython()) { --- 89,95 ---- * @return a PythonRunnerConfig configured with the given launch configuration * @throws CoreException + * @throws InvalidRunException */ ! private PythonRunnerConfig getConfig(ILaunchConfiguration configuration, ILaunchConfigurationDialog launchConfigurationDialog) throws CoreException, InvalidRunException { String run; if (fInterpreterManager.isJython()) { |