/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { DebugPlugin.log(exception); }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { DebugPlugin.log(exception); }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during launch change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
/** * Logs the specified throwable with this plug-in's log. * * @param t throwable to log * @since 2.0 */ public static void log(Throwable t) { IStatus status= new Status(IStatus.ERROR, getUniqueIdentifier(), ERROR, DebugCoreMessages.DebugPlugin_3, t); log(status); }
@Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, getUniqueIdentifier(), ERROR, DebugCoreMessages.DebugPlugin_6, exception); log(status); }
@Override public IPath getFullPath() { try { return new Path(getFile().getCanonicalPath()); } catch (IOException e) { DebugPlugin.log(e); return null; } }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during launch configuration change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during breakpoint change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during breakpoint change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
@Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during expression change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
@Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during expression change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during launch change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
/** * Logs the given message with this plug-in's log and the given * throwable or <code>null</code> if none. * @param message the message to log * @param throwable the exception that occurred or <code>null</code> if none */ public static void logMessage(String message, Throwable throwable) { log(new Status(IStatus.ERROR, getUniqueIdentifier(), ERROR, message, throwable)); }
/** * @see org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable) */ @Override public void handleException(Throwable exception) { IStatus status = new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.INTERNAL_ERROR, "An exception occurred during breakpoint change notification.", exception); //$NON-NLS-1$ DebugPlugin.log(status); }
@Override protected IStatus run(IProgressMonitor monitor) { try { getWorkspace().run(fRunnable, null, 0, null); } catch (CoreException ce) { DebugPlugin.log(ce); } return new Status(IStatus.OK, DebugPlugin.getUniqueIdentifier(), IStatus.OK, "", null); //$NON-NLS-1$ } }
@Override public IEclipsePreferences preApply(IEclipsePreferences node) { try { // force VMs to be initialized before we import the new VMs node.accept(new Visitor()); } catch (BackingStoreException e) { DebugPlugin.log(e); } return node; }
@Override public ISourceContainer[] computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor) { try { return getDelegate().computeSourceContainers(configuration, monitor); } catch (CoreException e) { DebugPlugin.log(e); } return new ISourceContainer[0]; } }
@Override public void resourceChanged(IResourceChangeEvent event) { IResourceDelta delta= event.getDelta(); if (delta != null) { try { delta.accept(fVisitor); } catch (CoreException ce) { DebugPlugin.log(ce); } } }
@Override public void run(IAction action) { IToggleBreakpointsTarget target = DebugUITools.getToggleBreakpointsTargetManager().getToggleBreakpointsTarget(fPart, fSelection); if (target != null) { try { performAction(target, fPart, fSelection); } catch (CoreException e) { DebugPlugin.log(e); } } }
/** * Save the preferences for the given plug-in identifier. * It should be noted that all pending preference changes will be flushed with this method. * @param qualifier the preference qualifier */ public static synchronized void savePreferences(String qualifier) { try { contexts[DEFAULT_CONTEXT].getNode(qualifier).flush(); contexts[INSTANCE_CONTEXT].getNode(qualifier).flush(); } catch(BackingStoreException bse) { DebugPlugin.log(bse); } }