Package railo.runtime.exp

Examples of railo.runtime.exp.PageRuntimeException


      return Caster.toIntValue(conn.getClass().getMethod("getNetworkTimeout", new Class[]{}).invoke(conn, new Object[]{}));
    }
    catch (Throwable t) {
      if(t instanceof InvocationTargetException && ((InvocationTargetException)t).getTargetException() instanceof SQLException)
        throw (SQLException)((InvocationTargetException)t).getTargetException();
      throw new PageRuntimeException(Caster.toPageException(t));
    }
  }
View Full Code Here


      Integer i = Caster.toInteger(res,null);
      if(i==null) throw new FunctionException(pc,"ArraySort",2,"function","return value of the "+(udf instanceof Closure?"closure":"function ["+udf.getFunctionName()+"]")+" cannot be casted to a integer.",CasterException.createMessage(res, "integer"));
          return i.intValue();
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

    throw new PageRuntimeException(new DeprecatedException("this method is no longer supported, use instead getDataFromACollection(PageContext pc,Key key, Object defaultValue)"));
  }
 
  @Override
  public Object getDataFromACollection(PageContext pc,Key key) {
    throw new PageRuntimeException(new DeprecatedException("this method is no longer supported, use instead getDataFromACollection(PageContext pc,Key key, Object defaultValue)"));
  }
View Full Code Here

      Object res = call(pc,getCFC(pc,cfc), methodName, args);
      if(allowNull && res==null) return null;
      return new CFMLResource(this,Caster.toComponent(res));
    }
    catch (PageException pe) {pe.printStackTrace();
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

        resources[index++]=new CFMLResource(this,Caster.toComponent(it.next()));
      }
      return resources;
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

  int callintRTE(PageContext pc,Component cfc,String methodName, Object[] args) {
    try {
      return callint(pc,cfc, methodName, args);
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

  long calllongRTE(PageContext pc,Component cfc,String methodName, Object[] args) {
    try {
      return calllong(pc,cfc, methodName, args);
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

  boolean callbooleanRTE(PageContext pc,Component cfc,String methodName, Object[] args) {
    try {
      return callboolean(pc,cfc, methodName, args);
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

  String callStringRTE(PageContext pc,Component cfc,String methodName, Object[] args) {
    try {
      return Caster.toString(call(pc,cfc,methodName, args));
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
View Full Code Here

  Object callRTE(PageContext pc,Component cfc,String methodName, Object[] args) {
    try {
      return call(pc,cfc,methodName, args);
    }
    catch (PageException pe) {
      throw new PageRuntimeException(pe);
    }
  }
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.