001    package com.khubla.pragmatach.framework.controller;
002    
003    import com.khubla.pragmatach.framework.api.Request;
004    import com.khubla.pragmatach.framework.controller.impl.system.HttpErrorController;
005    
006    /**
007     * @author tome
008     */
009    public class PragmatachControllerFactory {
010       public static HttpErrorController getHttpErrorController(Request request, Exception e) {
011          final HttpErrorController ret = new HttpErrorController(e);
012          ret.setRequest(request);
013          return ret;
014       }
015    }