ResourcePool:

+ Added the exception thrown by the freeResource() method
+ Added javadoc