Examples of Abort


Examples of org.jboss.forge.shell.exceptions.Abort

                  + ConstraintInspector.getName(facet.getClass())
                  + "] facet depends on the following missing facet(s): "
                  + facetNames
                  + ". Install as well?"))
         {
            throw new Abort();
         }
         else
         {
            List<Facet> installed = new ArrayList<Facet>();
            for (Class<? extends Facet> d : missingDeps)
            {
               Facet instance = factory.getFacet(d);
               if (performInstallation(instance, prompt))
               {
                  installed.add(instance);
               }
               else
               {
                  // attempt to undo everything we've done so far
                  for (Facet f : installed)
                  {
                     if (!f.uninstall())
                     {
                        ShellMessages.info(shell,
                                 "Could not uninstall [" + ConstraintInspector.getName(f.getClass())
                                          + "]. Must be cleaned up manually.");
                     }
                     else
                     {
                        ShellMessages.info(shell,
                                 "Uninstalled facet [" + ConstraintInspector.getName(f.getClass())
                                          + "].");
                     }
                  }
                  throw new Abort();
               }
            }
         }
      }
   }
View Full Code Here

Examples of org.jboss.forge.shell.exceptions.Abort

            return shell.promptChoiceTyped("Select a new packaging type:", types);
         }
      }
      else
      {
         throw new Abort();
      }
   }
View Full Code Here

Examples of org.jboss.forge.shell.exceptions.Abort

         if (!deps.hasEffectiveDependency(shellApi)
                  && !prompt.promptBoolean(
                           "The project does not appear to be a Forge Plugin Project, install anyway?",
                           false))
         {
            throw new Abort("Installation aborted");
         }
         else
         {
            Dependency directDependency = deps.getDirectDependency(shellApi);
            if ((directDependency != null) && !Strings.isNullOrEmpty(directDependency.getVersion()))
View Full Code Here

Examples of org.jboss.forge.shell.exceptions.Abort

         if (!deps.hasEffectiveDependency(shellApi)
                  && !prompt.promptBoolean(
                           "The project does not appear to be a Forge Plugin Project, install anyway?",
                           false))
         {
            throw new Abort("Installation aborted");
         }
         else
         {
            if (apiVersion == null)
            {
View Full Code Here

Examples of org.jboss.forge.shell.exceptions.Abort

         if (!deps.hasEffectiveDependency(shellApi)
                  && !prompt.promptBoolean(
                           "The project does not appear to be a Forge Plugin Project, install anyway?",
                           false))
         {
            throw new Abort("Installation aborted");
         }
         else
         {
            Dependency directDependency = deps.getDirectDependency(shellApi);
            if ((directDependency != null) && !Strings.isNullOrEmpty(directDependency.getVersion()))
View Full Code Here

Examples of org.red5.server.net.rtmp.event.Abort

        rtmp.setReadChunkSize(chunkSizeMsg.getSize());
      } else if (message instanceof Abort) {
        log.debug("Abort packet detected");
        // The client is aborting a message; reset the packet
        // because the next chunk on that stream will start a new packet.
        Abort abort = (Abort) message;
        rtmp.setLastReadPacket(abort.getChannelId(), null);
        packet = null;
      }
      // collapse the time stamps on the last packet so that it works right for chunk type 3 later
      lastHeader = rtmp.getLastReadHeader(channelId);
      lastHeader.setTimerBase(header.getTimer());
View Full Code Here

Examples of org.red5.server.net.rtmp.event.Abort

    }
    return message;
  }

  public IRTMPEvent decodeAbort(IoBuffer in) {
    return new Abort(in.getInt());
  }
View Full Code Here

Examples of railo.runtime.exp.Abort

      pageContext.forceWrite("</body>\n</html>");
    } catch (IOException e) {
      throw new NativeException(e);
    }
        if(pageContext.getConfig().debug())pageContext.getDebugger().setOutput(false);
    throw new Abort(Abort.SCOPE_REQUEST);
  }
View Full Code Here

Examples of railo.runtime.exp.Abort

    if(hasVar)msg.append("["+var+"="+varValue+"] ");
    if(hasText)msg.append(" "+trace.getText()+" ");
    log.log(trace.getType(), "cftrace", msg.toString());
   
    // abort
    if(abort) throw new Abort(Abort.SCOPE_REQUEST);
   
  }
View Full Code Here

Examples of railo.runtime.exp.Abort

          String id = Hash.call(pc, pc.getId()+":"+pc.getStartTime());
          if(id.equals(threadId)){
            stopType=stopType.trim();
            Throwable t;
            if("abort".equalsIgnoreCase(stopType) || "cfabort".equalsIgnoreCase(stopType))
              t=new Abort(Abort.SCOPE_REQUEST);
            else
              t=new RequestTimeoutException(pc,"request has been forced to stop.");
           
                    pc.getThread().stop(t);
                    SystemUtil.sleep(10);
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.