first commit

This commit is contained in:
2025-07-28 13:56:49 +05:30
commit e9eb805edb
3438 changed files with 520990 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
package wenrgise.common.exception;
import java.io.Serializable;
import java.util.ArrayList;
public class EnrgiseApplicationException extends BaseException implements Serializable {
private ArrayList oListExceptions;
private ArrayList oArguments;
private String errorType = null;
public EnrgiseApplicationException() {}
public EnrgiseApplicationException(String sMsgKey) {
super(sMsgKey);
this.errorType = "E";
}
public EnrgiseApplicationException(String sMsgKey, String errorType) {
super(sMsgKey);
this.errorType = errorType;
}
public EnrgiseApplicationException(String sMsgKey, ArrayList oArguments) {
super(sMsgKey);
this.oArguments = oArguments;
this.errorType = "E";
}
public EnrgiseApplicationException(String sMsgKey, ArrayList oArguments, String sErrorType) {
super(sMsgKey);
this.oArguments = oArguments;
this.errorType = sErrorType;
}
public ArrayList getList() {
return this.oListExceptions;
}
public void setList(ArrayList oListExceptions) {
this.oListExceptions = oListExceptions;
}
public void addToList(EnrgiseApplicationException oAppExcp) {
if (this.oListExceptions == null)
this.oListExceptions = new ArrayList();
this.oListExceptions.add(oAppExcp);
}
public ArrayList getArguments() {
return this.oArguments;
}
public void setArguments(ArrayList newOArguments) {
this.oArguments = newOArguments;
}
public String getErrorType() {
return this.errorType;
}
}