public class MvcErrorCatchTest {
private void _mvc(final Class<?> mainModuleType) throws Throwable {
try {
(new AbstractMvcTest() {
protected void initServletConfig() {
servletConfig.addInitParameter("modules", mainModuleType.getName());
}
}).init();
}