All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nutz.web.error.ErrPageViewMaker Maven / Gradle / Ivy

Go to download

Nutz, which is a collections of lightweight frameworks, each of them can be used independently

There is a newer version: 1.r.67
Show newest version
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