Package railo.runtime.exp

Examples of railo.runtime.exp.PageException


    }
  }
 

  private PageException handlePageException(PageContextImpl pci, ComponentAccess app, PageException pe, PageSource requestedPage, String targetPage, RefBoolean goon) throws PageException {
    PageException _pe=pe;
    if(pe instanceof ModernAppListenerException) {
      _pe=((ModernAppListenerException) pe).getPageException();
    }
   
    if(!Abort.isSilentAbort(_pe)) {
View Full Code Here


    }
    private void doRemoveAllSpoolerTask() {
      ((SpoolerEngineImpl)config.getSpoolerEngine()).removeAll();
    }
    private void doExecuteSpoolerTask() throws PageException {
      PageException pe = config.getSpoolerEngine().execute(getString("admin",action,"id"));
    if(pe!=null) throw pe;
    }
View Full Code Here

    return call(pc,base,sortType,sortOrder,null);
  }
  public static Array call(PageContext pc , Struct base, String sortType, String sortOrder, String pathToSubElement) throws PageException {

    boolean isAsc=true;
    PageException ee=null;
    if(sortOrder.equalsIgnoreCase("asc"))isAsc=true;
    else if(sortOrder.equalsIgnoreCase("desc"))isAsc=false;
    else throw new ExpressionException("invalid sort order type ["+sortOrder+"], sort order types are [asc and desc]");
   
    Collection.Key[] keys = CollectionUtil.keys(base);
View Full Code Here

      if(ArrayUtil.isEmpty(items))
        throw new ApplicationException("no file send with this form");
      return items[0];
    }
     
    PageException pe = pageContext.formScope().getInitException();
    if(pe!=null) throw pe;
    railo.runtime.type.scope.Form upload = pageContext.formScope();
    FormItem fileItem = upload.getUploadResource(filefield);
    if(fileItem==null) {
      FormItem[] items = upload.getFileItems();
View Full Code Here

   
    return fileItem;
  }
 
  private static FormItem[] getFormItems(PageContext pageContext) throws PageException {
    PageException pe = pageContext.formScope().getInitException();
    if(pe!=null) throw pe;
   
    Form scope = pageContext.formScope();
    return scope.getFileItems();
  }
View Full Code Here

            AMFError error=new AMFError();
            e.setStackTrace(e.getStackTrace());
            error.setDescription(e.getMessage());
     
      if(e instanceof PageException){
        PageException pe = (PageException)e;
              error.setCode(pe.getErrorCode());
              error.setCode(pe.getErrorCode());
              error.setDetails(pe.getDetail());
      }
     
      return error;
    }
    }
View Full Code Here

TOP

Related Classes of railo.runtime.exp.PageException

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.