// Path: src/main/java/com/belling/base/contants/ResponseCode.java
// public final class ResponseCode {
// 
// 	public final static int SUCCESS = 1;// 成功
// 
// 	// 通用错误以9开头
// 	public final static int ERROR = 9999;// 未知错误
// 	public final static int APPLICATION_ERROR = 9000;// 应用级错误
// 	public final static int VALIDATE_ERROR = 9001;// 参数验证错误
// 	public final static int SERVICE_ERROR = 9002;// 业务逻辑验证错误
// 	public final static int CACHE_ERROR = 9003;// 缓存访问错误
// 	public final static int DAO_ERROR = 9004;// 数据访问错误
// }


import com.belling.base.contants.ResponseCode;
package com.belling.base.exception;



/**
 * 验证异常
 * 
 * @author Sunny
 */
public class ValidateException extends BaseException {

	private static final long serialVersionUID = 5214146953001236471L;

	public static final String MESSAGE = "验证异常";

	public ValidateException() {
		super(MESSAGE);
	}

	public ValidateException(String message) {
		super(message);
// Path: src/main/java/com/belling/base/contants/ResponseCode.java
// public final class ResponseCode {
// 
// 	public final static int SUCCESS = 1;// 成功
// 
// 	// 通用错误以9开头
// 	public final static int ERROR = 9999;// 未知错误
// 	public final static int APPLICATION_ERROR = 9000;// 应用级错误
// 	public final static int VALIDATE_ERROR = 9001;// 参数验证错误
// 	public final static int SERVICE_ERROR = 9002;// 业务逻辑验证错误
// 	public final static int CACHE_ERROR = 9003;// 缓存访问错误
// 	public final static int DAO_ERROR = 9004;// 数据访问错误
// }


// Path: src/main/java/com/belling/base/exception/ValidateException.java
import com.belling.base.contants.ResponseCode;

package com.belling.base.exception;



/**
 * 验证异常
 * 
 * @author Sunny
 */
public class ValidateException extends BaseException {

	private static final long serialVersionUID = 5214146953001236471L;

	public static final String MESSAGE = "验证异常";

	public ValidateException() {
		super(MESSAGE);
	}

	public ValidateException(String message) {
		super(message);
		this.code = ResponseCode.VALIDATE_ERROR;