Package railo.runtime.exp

Examples of railo.runtime.exp.PageRuntimeException


    // return null;
  }

  @Override
  public void setCachedQuery(String arg0, Object arg1) {
    throw new PageRuntimeException(new ServiceException("method [setQueryCache] is not supported for datasource service"));
  }
View Full Code Here


    try {
      if(isAsc) return compareObjects(oLeft, oRight);
      return compareObjects(oRight, oLeft);
    }
    catch (PageException e) {
      throw new PageRuntimeException(new ExpressionException("can only sort arrays with simple values",e.getMessage()));
    }
  }
View Full Code Here

  public int compare(Object oLeft, Object oRight) {
    try {
      if(isAsc) return compareObjects(oLeft, oRight);
      return compareObjects(oRight, oLeft);
    } catch (PageException e) {
      throw new PageRuntimeException(new ExpressionException("can only sort arrays with simple values",e.getMessage()));
    }
  }
View Full Code Here

 
  public Client getClientScopeEL(PageContext pc) {
    try {
      return getClientScope(pc);
    } catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

    return struct.removeEL(key);
  }

  @Override
  public void resize(int to) throws PageException {
    throw new PageRuntimeException("resizing of xml nodelist not allowed");
  }
View Full Code Here

  public void clear() {
    //throw new PageRuntimeException(new ExpressionException("can't clear fields from object ["+objects.getClazz().getName()+"]"));
  }

  public Collection duplicate(boolean deepCopy) {
    throw new PageRuntimeException(new ExpressionException("can't clone object of type ["+jo.getClazz().getName()+"]"));
    //return null;
  }
View Full Code Here

  public Key[] keys() {
    return info().keys();
  }

  public Object remove(Key key) throws PageException {
    throw new PageRuntimeException("can't remove key ["+key.getString()+"] from struct, struct is readonly");
  }
View Full Code Here

    throw new PageRuntimeException("can't remove key ["+key.getString()+"] from struct, struct is readonly");
  }

  @Override
  public Object removeEL(Key key) {
    throw new PageRuntimeException("can't remove key ["+key.getString()+"] from struct, struct is readonly");
  }
View Full Code Here

    throw new ExpressionException("can't set key ["+key.getString()+"] to struct, struct is readonly");
  }

  @Override
  public Object setEL(Key key, Object value) {
    throw new PageRuntimeException("can't set key ["+key.getString()+"] to struct, struct is readonly");
  }
View Full Code Here

    if(seekable){
      long pos=0;
      try {
        pos = getRAF().getFilePointer();
      } catch (IOException ioe) {
        throw new PageRuntimeException(Caster.toPageException(ioe));
      }
      try {
        if(raf.read()==-1) return true;
        raf.seek(pos);
      }
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.