Package railo.runtime.exp

Examples of railo.runtime.exp.PageExceptionImpl


        // Error Code
        if(!StringUtil.isEmpty(errCode,true))pe.setErrorCode(errCode);
       
        // Additional
        if(pe instanceof PageExceptionImpl) {
          PageExceptionImpl pei=(PageExceptionImpl) pe;
          sct=Caster.toStruct(sct.get("additional",null),null);
          Iterator<Entry<Key, Object>> it = sct.entryIterator();
          Entry<Key, Object> e;
          while(it.hasNext()){
            e = it.next();
            pei.setAdditional(e.getKey(), e.getValue());
          }
        }
        return pe;
      }
    }
View Full Code Here


                    StringBuilder msg=new StringBuilder(pe.getMessage());
                    msg.append(", Error Occurred in File [");
                    msg.append(template);
                    if(pe instanceof PageExceptionImpl) {
                      try{
                      PageExceptionImpl pei=(PageExceptionImpl)pe;
                      Array context = pei.getTagContext(config);
                      if(context.size()>0){
                            msg.append(":");
                            msg.append(Caster.toString(((Struct)context.getE(1)).get("line")));
                      }
                      }
View Full Code Here

TOP

Related Classes of railo.runtime.exp.PageExceptionImpl

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.