SystemException.java
资源名称:oa.rar [点击查看]
上传用户:kimgenplus
上传日期:2016-06-05
资源大小:20877k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- package com.bjsxt.oa.managers;
- public class SystemException extends RuntimeException {
- //异常代码
- private String key;
- private Object[] values;
- public SystemException() {
- super();
- }
- public SystemException(String message, Throwable throwable) {
- super(message, throwable);
- }
- public SystemException(String message) {
- super(message);
- }
- public SystemException(Throwable throwable) {
- super(throwable);
- }
- public SystemException(String message,String key){
- super(message);
- this.key = key;
- }
- public SystemException(String message,String key,Object value){
- super(message);
- this.key = key;
- this.values = new Object[]{value};
- }
- public SystemException(String message,String key,Object[] values){
- super(message);
- this.key = key;
- this.values = values;
- }
- public String getKey() {
- return key;
- }
- public Object[] getValues() {
- return values;
- }
- }