Update Pool.java

added unchecked exception, when pool owerflowed