def getNewApplication(self, request):
        # Creates a new application instance
        try:
            applicationClass = self.getApplicationClass()
            application = applicationClass()
        except __HOLE__:
            raise ServletException, "getNewApplication failed"

        return application
dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/gwt/server/application_servlet.py/ApplicationServlet.getNewApplication