Package railo.runtime.exp

Examples of railo.runtime.exp.PageRuntimeException


        this.restMappings= restMappings;
    }


    public PageSource getPageSource(Mapping[] mappings, String realPath,boolean onlyTopLevel) {
      throw new PageRuntimeException(new DeprecatedException("method not supported"));
    }
View Full Code Here


     * @param realPath
     * @param alsoDefaultMapping ignore default mapping (/) or not
     * @return physical path from mapping
     */
    public Resource getPhysical(Mapping[] mappings, String realPath, boolean alsoDefaultMapping) {
      throw new PageRuntimeException(new DeprecatedException("method not supported"));
    }
View Full Code Here

      throw new PageRuntimeException(new DeprecatedException("method not supported"));
    }

    public Resource[] getPhysicalResources(PageContext pc,Mapping[] mappings, String realPath,boolean onlyTopLevel,boolean useSpecialMappings, boolean useDefaultMapping) {
      // now that archives can be used the same way as physical resources, there is no need anymore to limit to that
      throw new PageRuntimeException(new DeprecatedException("method not supported"));
      /*PageSource[] pages = getPageSources(pc, mappings, realPath, onlyTopLevel, useSpecialMappings, useDefaultMapping);
      List<Resource> list=new ArrayList<Resource>();
      Resource res;
      for(int i=0;i<pages.length;i++) {
        if(!pages[i].getMapping().hasPhysical()) continue;
View Full Code Here

    }
   

    public Resource getPhysicalResourceExisting(PageContext pc,Mapping[] mappings, String realPath,boolean onlyTopLevel,boolean useSpecialMappings, boolean useDefaultMapping) {
      // now that archives can be used the same way as physical resources, there is no need anymore to limit to that
      throw new PageRuntimeException(new DeprecatedException("method not supported"));
      /*PageSource ps = getPageSourceExisting(pc, mappings, realPath, onlyTopLevel, useSpecialMappings, useDefaultMapping,true);
      if(ps==null) return null;
      return ps.getPhyscalFile();*/
    }
View Full Code Here

      return securityKey;
    }

    @Override
    public String getDebugTemplate() {
      throw new PageRuntimeException(new DeprecatedException("no longer supported, use instead getDebugEntry(ip, defaultValue)"));
    }
View Full Code Here

          os=baos;
          Util.copy(is=getInputStream(), baos);
          barr=baos.toByteArray();
        }
        catch (Exception e) {
          throw new PageRuntimeException(Caster.toPageException(e));
        }
        finally{
          Util.closeEL(is);
          Util.closeEL(os);
        }
      }
      S3ResourceOutputStream os = new S3ResourceOutputStream(s3,bucketName,objectName,acl);
      if(append && !(barr==null || barr.length==0))
        Util.copy(new ByteArrayInputStream(barr),os);
      return os;
    }
    catch(IOException e) {
      throw e;
    }
    catch (Exception e) {
      throw new PageRuntimeException(Caster.toPageException(e));
    }
    finally {
      s3.releaseCache(getInnerPath());
    }
  }
View Full Code Here

       
     
      return acp;
    }
    catch (Exception e) {
      throw new PageRuntimeException(Caster.toPageException(e));
    }
  }
View Full Code Here

   
    try {
      s3.setAccessControlPolicy(bucketName, getObjectName(),acp);
    }
    catch (Exception e) {
      throw new PageRuntimeException(Caster.toPageException(e));
    }
    finally {
      s3.releaseCache(getInnerPath());
    }
  }
View Full Code Here

  public void setMaxQueryCount(Number maxQueryCount) {
    this.maxQueryCount=maxQueryCount;
  }

  public String encryptPassword(String pass) {
    throw new PageRuntimeException(new ServiceException("method [encryptPassword] is not supported for datasource service"));
    //return pass;
  }
View Full Code Here

    return db.getPath();
  }

  @Override
  public Object getCachedQuery(String key) {
    throw new PageRuntimeException(new ServiceException("method [getQueryCache] is not supported for datasource service"));
    //pageContext.getQueryCache().getQuery(sql,datasource,username,password,cachedafter)
    // return null;
  }
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.