private Map<String, ExceptionExclude> exceptionExcludeMap = new HashMap<String, ExceptionExclude>();
public ExceptionConfigMock() {
// exception limit
ExceptionLimit exceptionAA = new ExceptionLimit("exceptionA");
exceptionAA.setDomain("domainA").setError(10).setWarning(5);
exceptionLimitMap.put(exceptionAA.getDomain() + "_" + exceptionAA.getId(), exceptionAA);
ExceptionLimit exceptionAT = new ExceptionLimit("Total");
exceptionAT.setDomain("domainA").setError(20).setWarning(10);
exceptionLimitMap.put(exceptionAT.getDomain(), exceptionAT);
ExceptionLimit exceptionBA = new ExceptionLimit("exceptionA");
exceptionBA.setDomain("domainB").setError(10).setWarning(5);
exceptionLimitMap.put(exceptionBA.getDomain() + "_" + exceptionBA.getId(), exceptionBA);
ExceptionLimit exceptionCA = new ExceptionLimit("exceptionA");
exceptionCA.setDomain("domainC").setError(10).setWarning(5);
exceptionLimitMap.put(exceptionCA.getDomain() + "_" + exceptionCA.getId(), exceptionCA);
ExceptionLimit exceptionCB = new ExceptionLimit("exceptionB");
exceptionCB.setDomain("domainC").setError(10).setWarning(5);
exceptionLimitMap.put(exceptionCB.getDomain() + "_" + exceptionCB.getId(), exceptionCB);
ExceptionLimit exceptionCC = new ExceptionLimit("exceptionC");
exceptionCC.setDomain("domainC").setError(10).setWarning(5);
exceptionLimitMap.put(exceptionCC.getDomain() + "_" + exceptionCC.getId(), exceptionCC);
ExceptionLimit exceptionCD = new ExceptionLimit("exceptionD");
exceptionCD.setDomain("domainC").setError(10).setWarning(5);
exceptionLimitMap.put(exceptionCD.getDomain() + "_" + exceptionCD.getId(), exceptionCD);
ExceptionLimit exceptionCT = new ExceptionLimit("Total");
exceptionCT.setDomain("domainC").setError(20).setWarning(10);
exceptionLimitMap.put(exceptionCT.getDomain(), exceptionCT);
// exception exclude
ExceptionExclude exceptionAll = new ExceptionExclude("All");
exceptionAll.setDomain("domainA");
exceptionExcludeMap.put(exceptionAll.getDomain() + "_" + exceptionAll.getId(), exceptionAll);