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

net.ymate.platform.mvc.IErrorHandler Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
/*
 * Copyright 2007-2107 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.ymate.platform.mvc;

import java.util.Set;

import net.ymate.platform.mvc.view.IView;
import net.ymate.platform.validation.ValidateResult;

/**
 * 

* IErrorHandler *

*

* MVC框架异常错误处理器接口; *

* * @author 刘镇([email protected]) * @version 0.0.0 * * * * * * * * * * * *
版本号动作修改人修改时间
0.0.0创建类刘镇2012-12-9下午3:27:11
*/ public interface IErrorHandler { /** * 异常时将执行事件回调 * * @param e */ public void onError(Throwable e); /** * @param results 验证器执行结果集合 * @return 处理结果数据并返回视图对象,若返回null则由框架默认处理 */ public IView onValidation(Set results); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy