Package org.openamf

Examples of org.openamf.AMFError


          return new CFMLProxy().invokeBody(OpenAMFCaster.getInstance(),null,servlet.getServletContext(),servlet.getServletConfig(), req, rsp, request.getServiceName(), request.getServiceMethodName(), request.getParameters());
    }
      catch (Exception e) {
        e.printStackTrace();
            rsp.setStatus(200);
            AMFError error=new AMFError();
            e.setStackTrace(e.getStackTrace());
            error.setDescription(e.getMessage());
     
      if(e instanceof PageException){
        PageException pe = (PageException)e;
              error.setCode(pe.getErrorCode());
              error.setCode(pe.getErrorCode());
              error.setDetails(pe.getDetail());
      }
     
      return error;
    }
    }
View Full Code Here

TOP

Related Classes of org.openamf.AMFError

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.