Examples of StatusException


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

Examples of org.jboss.seam.rest.example.client.StatusException

        try {
            locations = api.searchZip(query, 20, "demo");

            if (locations.getStatus() != null) {
                log.error(locations.getStatus().getMessage());
                throw new StatusException(locations.getStatus().getMessage());
            }
        } catch (Throwable e) {
            log.error(e.getMessage());
            throw new ConnectionException(e);
        }
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.