1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.vci.common.exception;
 
/**
 * 客户端部分的公共异常类,程序中只传递给异常类代码及异常类的参数信息;
 * 具体显示给客户的异常信息,通过读取国际化的properties文件获得。
 * 
 * @author Administrator
 *
 */
public class VciException extends Exception{
 
    /**
     * 
     */
    private static final long serialVersionUID = -8664591882722089081L;
    private String _code; //异常代码
    private Object[] _objArray = new Object[0]; //异常描述信息
    
    public VciException(String code) {
        this._code = code;
    }
    
    public VciException(String code, Object[] exception_objArray) {
        this._code = code;
        this._objArray = exception_objArray;
    }
    
    public String getException_code() {
        return _code;
    }
    
    public void setException_code(String code) {
        this._code = code;
    }
    
    public Object[] getException_objArray() {
        return _objArray;
    }
 
    public void setException_objArray(Object[] exception_objArray) {
        this._objArray = exception_objArray;
    }
}