package com.vci.client.ui.exception; /** * 客户端部分的公共异常类,程序中只传递给异常类代码及异常类的参数信息; * 具体显示给客户的异常信息,通过读取国际化的properties文件获得。 * * @author Administrator * */ public class VCIException extends Exception{ /** * */ private static final long serialVersionUID = -8664591882722089081L; private String exception_code; //异常代码 private Object[] exception_objArray = new Object[0]; //异常描述信息 public VCIException(String exception_code) { this.exception_code = exception_code; } public VCIException(String exception_code, Object[] exception_objArray) { this.exception_code = exception_code; this.exception_objArray = exception_objArray; } public String getException_code() { return exception_code; } public void setException_code(String exception_code) { this.exception_code = exception_code; } public Object[] getException_objArray() { return exception_objArray; } public void setException_objArray(Object[] exception_objArray) { this.exception_objArray = exception_objArray; } }