22 lines
395 B
Java
22 lines
395 B
Java
package wenrgise.common.exception;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class BaseException extends Exception implements Serializable {
|
|
private String sKey;
|
|
|
|
public BaseException() {}
|
|
|
|
public BaseException(String sKey) {
|
|
this.sKey = sKey;
|
|
}
|
|
|
|
public String getKey() {
|
|
return this.sKey;
|
|
}
|
|
|
|
public void setKey(String sMessageKey) {
|
|
this.sKey = sMessageKey;
|
|
}
|
|
}
|