MantisBT - JANA
View Issue Details
0000112JANAFeature Requestpublic2011-07-01 10:022012-08-17 16:51
davidl 
davidl 
normalminorN/A
resolvedfixed 
0000112: Throw exception when accessing non-existent calib constants
Add a set of templated classes to extend things like map<string,double> used by JCalibration so when the user tries to access a key for which there is no entry using operator[], an exception is thrown instead of simply creating a new key with a value of 0.
No tags attached.
Issue History
2011-07-01 10:02davidlNew Issue
2012-08-17 16:51davidlNote Added: 0000432
2012-08-17 16:51davidlStatusnew => resolved
2012-08-17 16:51davidlResolutionopen => fixed
2012-08-17 16:51davidlAssigned To => davidl

Notes
(0000432)
davidl   
2012-08-17 16:51   
This was not actually resolved in the way indicated. Instead, an exception is now thrown when non-existent calibration constants are requested from JCalibrationFile. The exception catching and stack trace recording/reporting were improved so that the user can better understand the error that caused the program to quit.