public class ExtsysException extends Exception {
- private static final long serialVersionUID = 1L;
- private String errorCode;
- private String errorMsg;
+ private static final long serialVersionUID = 1L;
- public String getErrorCode() {
- return errorCode;
- }
+ public ExtsysException() {
+ super();
+ }
- public void setErrorCode(String errorCode) {
- this.errorCode = errorCode;
- }
+ public ExtsysException(String msg, Exception e) {
+ super(msg, e);
+ }
- public String getErrorMsg() {
- return errorMsg;
- }
-
- public void setErrorMsg(String errorMsg) {
- this.errorMsg = errorMsg;
- }
-
- public ExtsysException() {
- super();
- }
-
- public ExtsysException(String errorCode, String errorMsg) {
- this.errorCode = errorCode;
- this.errorMsg = errorMsg;
- }
+ public ExtsysException(String msg) {
+ super(msg);
+ }
}