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 ( ) ) ; }
Add an exception to the info map