Package railo.runtime.cfx

Examples of railo.runtime.cfx.CFXTagException


  @Override
  public CustomTag newInstance() throws CFXTagException {
    try {
      return _newInstance();
    } catch (Throwable e) {
      throw new CFXTagException(e);
    }
  }
View Full Code Here


    Object o=classes.get(name);
    if(o==null) {
      Set<String> set = classes.keySet();
      String names = ListUtil.arrayToList(set.toArray(new String[set.size()]),",");
     
      throw new CFXTagException("there is no Custom Tag (CFX) with name ["+name+"], available Custom Tags are ["+names+"]");
    }
    CFXTagClass ctc=(CFXTagClass) o;
    CustomTag ct = ctc.newInstance();
    //if(!(o instanceof CustomTag))throw new CFXTagException("["+name+"] is not of type ["+CustomTag.class.getName()+"]");
    return ct;
View Full Code Here

 
  @Override
  public synchronized CFXTagClass getCFXTagClass(String name) throws CFXTagException {
    name=name.toLowerCase();
    CFXTagClass ctc = classes.get(name);
    if(ctc==null) throw new CFXTagException("there is not Custom Tag (CFX) with name ["+name+"]");
    return ctc;
  }
View Full Code Here

      try {
        clazz = ClassUtil.loadClass("com.naryx.tagfusion.cfx.CFXNativeLib");
      } catch (ClassException e) {
       

        throw new CFXTagException(
          "cannot initialize C++ Custom tag library, make sure you have added all the required jar files. "+
          "GO to the Railo Server Administrator and on the page Services/Update, click on \"Update JARs\"");
       
      }
      try {
        processRequest=clazz.getMethod("processRequest", new Class[]{String.class,String.class,Request.class,Response.class,boolean.class});
      } catch (NoSuchMethodException e) {
        throw new CFXTagException(e);
      }
    }
  }
View Full Code Here

TOP

Related Classes of railo.runtime.cfx.CFXTagException

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.