Examples of failed()


Examples of org.eclipse.jetty.util.FutureCallback.failed()

    protected void doStop() throws Exception
    {
        super.doStop();
        FutureCallback shutdown = _shutdown.get();
        if (shutdown!=null && !shutdown.isDone())
            shutdown.failed(new TimeoutException());
    }

    /**
     * @return the number of requests handled by this handler
     * since {@link #statsReset()} was last called, excluding
View Full Code Here

Examples of org.eclipse.jgit.merge.ResolveMerger.failed()

                  "cherry-pick: "
                      + srcCommit.getShortMessage())
              .setAuthor(srcCommit.getAuthorIdent()).call();
          cherryPickedRefs.add(src);
        } else {
          if (merger.failed())
            return new CherryPickResult(merger.getFailingPaths());

          // there are merge conflicts

          String message = new MergeMessageFormatter()
View Full Code Here

Examples of org.eclipse.jgit.merge.ResolveMerger.failed()

            cherryPickedRefs.add(src);
         }
         else
         {
            if (merger.failed())
               return new CherryPickResult(merger.getFailingPaths());

            // there are merge conflicts
            String message = new MergeMessageFormatter()
                     .formatWithConflicts(srcCommit.getFullMessage(),
View Full Code Here

Examples of org.eclipse.jgit.merge.ResolveMerger.failed()

          newHead = new Git(getRepository()).commit()
              .setMessage(srcCommit.getFullMessage())
              .setAuthor(srcCommit.getAuthorIdent()).call();
          cherryPickedRefs.add(src);
        } else {
          if (merger.failed())
            return new CherryPickResult(merger.getFailingPaths());

          // there are merge conflicts

          String message = new MergeMessageFormatter()
View Full Code Here

Examples of org.eclipse.jgit.merge.ResolveMerger.failed()

            cherryPickedRefs.add(src);
         }
         else
         {
            if (merger.failed())
               return new CherryPickResult(merger.getFailingPaths());

            // there are merge conflicts
            String message = new MergeMessageFormatter()
                     .formatWithConflicts(srcCommit.getFullMessage(),
View Full Code Here

Examples of org.jbehave.core.configuration.Keywords.failed()

        ensureKeywordIs(properties, THEN, keywords.then());
        ensureKeywordIs(properties, AND, keywords.and());
        ensureKeywordIs(properties, IGNORABLE, keywords.ignorable());
        ensureKeywordIs(properties, PENDING, keywords.pending());
        ensureKeywordIs(properties, NOT_PERFORMED, keywords.notPerformed());
        ensureKeywordIs(properties, FAILED, keywords.failed());
    }
   
    private LocalizedKeywords keywordsFor(Locale locale) {
        return keywordsFor(locale, null, null);
    }
View Full Code Here

Examples of org.jboss.as.webservices.verification.JwsWebServiceEndpointVerifier.failed()

            final Class<?> endpointInterfaceClass = endpointInterfaceClassName.length() > 0 ? moduleClassLoader
                    .loadClass(endpointInterfaceClassName) : null;
            final JwsWebServiceEndpointVerifier wsEndpointVerifier = new JwsWebServiceEndpointVerifier(
                    endpointClass, endpointInterfaceClass, deploymentReflectionIndex);
            wsEndpointVerifier.verify();
            if (wsEndpointVerifier.failed()) {
                wsEndpointVerifier.logFailures();
                throw WSLogger.ROOT_LOGGER.jwsWebServiceClassVerificationFailed(endpointClass);
            }
        } catch (ClassNotFoundException e) {
            throw WSLogger.ROOT_LOGGER.declaredEndpointInterfaceClassNotFound(endpointInterfaceClassName, endpointClass);
View Full Code Here

Examples of org.jitterbit.integration.client.project.jitterpack.ExtractDescriptorCallback.failed()

    @Override
    public void examine(File file, ImportParameters params) {
        ExtractDescriptorCallback callback = new ExtractorCallbackImpl(window, file);
        if (file.isDirectory()) {
            callback.failed("The path \"" + file.getAbsolutePath() + "\" is a folder. You need to select a file.", null);
        } else if (file.exists()) {
            packerUi.extractDescriptor(file, params, callback);
        } else {
            callback.failed("The file \"" + file.getAbsolutePath() + "\" does not exist.", null);
        }
View Full Code Here

Examples of org.osgi.service.coordinator.Participant.failed()

            for (int i=releaseList.size()-1;i>=0;i--)
            {
                final Participant part = releaseList.get(i);
                try
                {
                    part.failed(this);
                }
                catch (final Exception e)
                {
                    LogWrapper.getLogger()
                        .log(LogWrapper.LOG_ERROR, "Participant threw exception during call to fail()", e);
View Full Code Here

Examples of org.osgi.service.coordinator.Participant.failed()

                final Participant part = releaseList.get(i);
                try
                {
                    if ( this.failReason != null )
                    {
                        part.failed(this);
                    }
                    else
                    {
                        part.ended(this);
                    }
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.