/*
 * Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group.
 *  
 * 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 com.wang.web.exception;

import com.wang.common.exception.BizException;



/**
 * 用户业务异常类
 * @author：Peter
 */
public class UserBizException extends BizException {

    /**
	 * 
	 */
	private static final long serialVersionUID = 8402819840773628289L;

	/** 用户不存在 **/
    public static final int USER_IS_NULL = 101;

    /** 用户支付配置有误 **/
    public static final int USER_PAY_CONFIG_ERRPR = 102;
    
    public static final UserBizException USER_BANK_ACCOUNT_IS_NULL = new UserBizException(10010002, "用户未设置银行账户信息!");

    private static final org.apache.logging.log4j.Logger logger = org.apache.logging.log4j.LogManager.getLogger(UserBizException.class);

    public UserBizException() {
    }

    public UserBizException(int code, String msgFormat, Object... args) {
        super(code, msgFormat, args);
    }

    public UserBizException(int code, String msg) {
        super(code, msg);
    }

    public UserBizException print() {
    	logger.info("==>BizException, code:" + this.code + ", msg:" + this.msg);
        return this;
    }
}

@@ -1,636 +1,4 @@
-/*%0A * Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group.%0A *  %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *  %0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *  %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A
 pack
@@ -95,25 +95,8 @@
 %E5%BC%82%E5%B8%B8%E7%B1%BB%0A
- * @author%EF%BC%9APeter%0A
  */%0A
@@ -314,12 +314,10 @@
 * %E7%94%A8%E6%88%B7
-%E6%94%AF%E4%BB%98%E9%85%8D%E7%BD%AE
+%E6%93%8D%E4%BD%9C
 %E6%9C%89%E8%AF%AF *
@@ -356,18 +356,12 @@
 SER_
-PAY_CONFIG
+OPER
 _ERR
@@ -425,13 +425,8 @@
 SER_
-BANK_
 ACCO
@@ -480,10 +480,8 @@
 %E6%88%B7%E6%9C%AA%E8%AE%BE%E7%BD%AE
-%E9%93%B6%E8%A1%8C
 %E8%B4%A6%E6%88%B7%E4%BF%A1%E6%81%AF

Update UserBizException.java