Package org.eclipse.debug.core

Examples of org.eclipse.debug.core.ILaunch.terminate()


                @Override
                protected IStatus run(final IProgressMonitor monitor) {
                    try {
                        final ILaunch launch = getServer().getLaunch();
                        if (launch != null) {
                            launch.terminate();
                        }
                    } catch (final DebugException e) {
                        // Do nothing
                    }
View Full Code Here


        try {
            setServerState(IServer.STATE_STOPPING);

            final ILaunch launch = getServer().getLaunch();
            if (launch != null) {
                launch.terminate();
            }

        } catch (final Exception e) {
            // Ignore as this is forcibly terminating the server
        } finally {
View Full Code Here

        // Getting the launch
        ILaunch launch = ( ILaunch ) server.removeCustomObject( LdapServersUtils.LAUNCH_CONFIGURATION_CUSTOM_OBJECT );
        if ( ( launch != null ) && ( !launch.isTerminated() ) )
        {
            // Terminating the launch
            launch.terminate();
        }
        else
        {
            throw new Exception(
                Messages.getString( "LdapServersUtils.AssociatedLaunchConfigurationCouldNotBeFoundOrTerminated" ) ); //$NON-NLS-1$
View Full Code Here

                        if ( ( launch != null ) && ( !launch.isTerminated() ) )
                        {
                            // Terminating the launch
                            try
                            {
                                launch.terminate();
                            }
                            catch ( DebugException e )
                            {
                                ApacheDsPluginUtils.reportError( "An error occurred when stopping the server.\n\n"
                                    + e.getMessage() );
View Full Code Here

                    if ( ( launch != null ) && ( !launch.isTerminated() ) )
                    {
                        // Terminating the launch
                        try
                        {
                            launch.terminate();
                            writeToInfoConsoleMessageStream( "Server stopped.\n" );
                        }
                        catch ( DebugException e )
                        {
                            ApacheDsPluginUtils.reportError( "An error occurred when stopping the server.\n\n"
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.