org.nutz.web.error.ErrPageViewMaker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nutz-web Show documentation
Show all versions of nutz-web Show documentation
Nutz, which is a collections of lightweight frameworks, each of them can be used independently
package org.nutz.web.error;
import org.nutz.ioc.Ioc;
import org.nutz.mvc.View;
import org.nutz.mvc.ViewMaker;
/**
*
* 如果发现exception,打印出对应的信息
*
* @author pw
*
*/
public class ErrPageViewMaker implements ViewMaker {
@Override
public View make(Ioc ioc, String type, String value) {
if ("errpage".equalsIgnoreCase(type)) {
return new ErrPageView();
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy