Added the return variable creation back when an Exception is thrown while borrowing an object form the pool.
Fixed the templated error message to have the real class name.