Add documentation. Invalid Expression Exception modified to provide information about the context in which the exception was thrown.