Package railo.runtime.exp

Examples of railo.runtime.exp.RequestTimeoutException


    }
    catch(Throwable t){}
       
        if(log!=null)log.error("controller",
            "stop thread ("+pc.getId()+") because run into a timeout "+getPath(pc)+"."+strLocks);
        pc.getThread().stop(new RequestTimeoutException(pc,"request ("+getPath(pc)+":"+pc.getId()+") has run into a timeout ("+(pc.getRequestTimeout()/1000)+" seconds) and has been stopped."+strLocks));
       
  }
View Full Code Here


            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);
            break;
          }
View Full Code Here

TOP

Related Classes of railo.runtime.exp.RequestTimeoutException

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.