* Create a "bad factory" JXPathAbstractFactoryException for the specified AbstractFactory.
* @param factory AbstractFactory
* @return JXPathAbstractFactoryException
*/
private JXPathAbstractFactoryException createBadFactoryException(AbstractFactory factory) {
return new JXPathAbstractFactoryException("Factory " + factory
+ " reported success creating object for path: " + asPath()
+ " but object was null. Terminating to avoid stack recursion.");
}