Package railo.runtime.exp

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


    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

          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

            finally {
                IOUtil.flushEL(os);
                IOUtil.closeEL(os);
                ((PageContextImpl)pageContext).getRootOut().setClosed(true);
            }
          throw new Abort(Abort.SCOPE_REQUEST);
        }
       
        // call page again and
        //MetaData.getInstance(getDirectory()).add(ci.getName(), ci.getRaw());
       
View Full Code Here

        return singelton;
    }

    @Override
    public PageException createAbort() {
        return new Abort(Abort.SCOPE_REQUEST);
    }
View Full Code Here

TOP

Related Classes of railo.runtime.exp.Abort

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.