Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.AssertionFailedException.fillInStackTrace()


  private void logWarning(String message, Object source, Saveable model) {
    // create a new exception
    AssertionFailedException assertionFailedException = new AssertionFailedException("unknown saveable: " + model //$NON-NLS-1$
        + " from part: " + source); //$NON-NLS-1$
    // record the current stack trace to help with debugging
    assertionFailedException.fillInStackTrace();
    WorkbenchPlugin.log(StatusUtil.newStatus(IStatus.WARNING, message,
        assertionFailedException));
  }

  /**
 
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.