code: private void addException(ObjectName pName, Exception pExp) {
          JSONObject mBeansMap = getOrCreateJSONObject(infoMap, pName.getDomain());
          JSONObject mBeanMap = getOrCreateJSONObject(mBeansMap, getKeyPropertyString(pName));
          mBeanMap.put(DataKeys.ERROR.getKey(), pExp.toString());
      }
docs: Add an exception to the info map