Package railo.runtime.exp

Examples of railo.runtime.exp.PageRuntimeException


        int len=((String)o).length();
        return (REF_SIZE*len)+(REF_SIZE*CHAR_SIZE);
      }
     
     
      throw new PageRuntimeException(new ExpressionException("can not terminate the size of a object of type ["+Caster.toTypeName(o)+":"+o.getClass().getName()+"]"));
    }
View Full Code Here


   * @param tags
   * @param deepCopy
   * @return cloned map
   */
  private HashMap<String,TagLibTag> duplicate(HashMap<String,TagLibTag> tags, boolean deepCopy) {
    if(deepCopy) throw new PageRuntimeException(new ExpressionException("deep copy not supported"));
   
    Iterator<Entry<String, TagLibTag>> it = tags.entrySet().iterator();
    HashMap<String,TagLibTag> cm = new HashMap<String,TagLibTag>();
    Entry<String, TagLibTag>  entry;
    while(it.hasNext()){
View Full Code Here

              "string"
          ));
     
    }
        catch (Throwable e) {// TODO handle Excpetion much more precise
      throw new PageRuntimeException(Caster.toPageException(e));
    }
      
  }
View Full Code Here

        args=arg!=null?new Object[]{arg,data}:new Object[]{data};
      }
      cfc.call(pc, name, args);
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

    if(!(res instanceof UDF)) return name;
   
    try {
      return Caster.toString(cfc.call(ThreadLocalPageContext.get(), functionName, new Object[]{name}));
    } catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

    if(datasource==null) {
      try {
        datasource=ORMUtil.getDataSource(pc);
      }
      catch (PageException pe) {
        throw new PageRuntimeException(pe);
      }
    }
    connection=new ORMConnection(pc,session);
  }
View Full Code Here

    throwNotAllowedToAlter();
    //setEL(index+1, element);
  }

  private void throwNotAllowedToAlter() {
    throw new PageRuntimeException(new DatabaseException(
        "Query columns do not support methods that would alter the structure of a query column"
        ,"you must use an analogous method on the query"
        ,null
        ,null));
   
View Full Code Here

          sct.setEL(names[i], qry.get(names[i],NullSupportHelper.empty()));
        }
        return sct;
      }
    } catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
    return null;
  }
View Full Code Here

  @Override
  public void remove() {
    try {
      qry.removeRow(current);
    } catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

    return setAtEL(propertyName,arrCurrentRow.get(pc.getId(),1),value);
  }
 
  @Override
  public boolean wasNull() {
    throw new PageRuntimeException(new ApplicationException("method [wasNull] is not supported"));
  }
View Full Code Here

TOP

Related Classes of railo.runtime.exp.PageRuntimeException

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.