Package org.eclipse.osgi.framework.adaptor

Examples of org.eclipse.osgi.framework.adaptor.StatusException


        managers[i].getBaseClassLoader().getDelegate().setLazyTrigger();
      } catch (BundleException e) {
        Bundle bundle = managers[i].getBaseData().getBundle();
        Throwable cause = e.getCause();
        if (cause != null && cause instanceof StatusException) {
          StatusException status = (StatusException) cause;
          if ((status.getStatusCode() & StatusException.CODE_ERROR) == 0) {
            if (status.getStatus() instanceof Thread) {
              String message = NLS.bind(EclipseAdaptorMsg.ECLIPSE_CLASSLOADER_CONCURRENT_STARTUP, new Object[] {Thread.currentThread(), name, status.getStatus(), bundle, new Integer(5000)});
              adaptor.getFrameworkLog().log(new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, FrameworkLogEntry.WARNING, 0, message, 0, e, null));
            }
            continue;
          }
        }
View Full Code Here


        managers[i].getBaseClassLoader().getDelegate().setLazyTrigger();
      } catch (BundleException e) {
        Bundle bundle = managers[i].getBaseData().getBundle();
        Throwable cause = e.getCause();
        if (cause != null && cause instanceof StatusException) {
          StatusException status = (StatusException) cause;
          if ((status.getStatusCode() & StatusException.CODE_ERROR) == 0) {
            if (status.getStatus() instanceof Thread) {
              String message = NLS.bind(EclipseAdaptorMsg.ECLIPSE_CLASSLOADER_CONCURRENT_STARTUP, new Object[] {Thread.currentThread(), name, status.getStatus(), bundle, new Long(System.currentTimeMillis() - startTime)});
              adaptor.getFrameworkLog().log(new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, FrameworkLogEntry.WARNING, 0, message, 0, e, null));
            }
            continue;
          }
        }
View Full Code Here

        // do not persist the start of this bundle
        secureAction.start(bundle, Bundle.START_TRANSIENT);
      } catch (BundleException e) {
        Throwable cause = e.getCause();
        if (cause != null && cause instanceof StatusException) {
          StatusException status = (StatusException) cause;
          if ((status.getStatusCode() & StatusException.CODE_ERROR) == 0) {
            if (status.getStatus() instanceof Thread) {
              String message = NLS.bind(EclipseAdaptorMsg.ECLIPSE_CLASSLOADER_CONCURRENT_STARTUP, new Object[] {Thread.currentThread(), name, status.getStatus(), bundle, new Integer(5000)});
              adaptor.getFrameworkLog().log(new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, FrameworkLogEntry.WARNING, 0, message, 0, e, null));
            }     
            continue;
          }
        }
View Full Code Here

TOP

Related Classes of org.eclipse.osgi.framework.adaptor.StatusException

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.