Expect exception for a symbol we can't calculate the charge for - e.g. 'As' in this case.
Throw an exception if the symbol isn't supported.
JavaDoc error