Package org.python.copiedfromeclipsesrc

Examples of org.python.copiedfromeclipsesrc.JDTNotAvailableException


                            ErrorDialog.openError(this.getShell(), "Error getting info on interpreter",
                                    javaNotConfiguredException.getMessage(), PydevPlugin.makeStatus(IStatus.ERROR,
                                            "Java vm not configured.\n", javaNotConfiguredException));

                        } else if (operation.e instanceof JDTNotAvailableException) {
                            JDTNotAvailableException noJdtException = (JDTNotAvailableException) operation.e;
                            ErrorDialog.openError(this.getShell(), "Error getting info on interpreter",
                                    noJdtException.getMessage(),
                                    PydevPlugin.makeStatus(IStatus.ERROR, "JDT not available.\n", noJdtException));

                        } else {
                            if (autoConfig) {
                                reportAutoConfigProblem(operation.e);
View Full Code Here


     * @param e the exception that should be transformed to a JDTNotAvailableException (if possible)
     * @throws JDTNotAvailableException
     */
    public static void tryRethrowAsJDTNotAvailableException(Throwable e) throws JDTNotAvailableException {
        if (isOptionalJDTClassNotFound(e)) {
            throw new JDTNotAvailableException();

        } else if (e instanceof JDTNotAvailableException) {
            JDTNotAvailableException jdtNotAvailableException = (JDTNotAvailableException) e;
            throw jdtNotAvailableException;

        } else if (e instanceof RuntimeException) {
            RuntimeException runtimeException = (RuntimeException) e;
            throw runtimeException;
View Full Code Here

TOP

Related Classes of org.python.copiedfromeclipsesrc.JDTNotAvailableException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.