private void throwPoolInitializationException ( Throwable t ) { logger . error ( "{} - Exception during pool initialization." , poolName , t ) ; destroyHouseKeepingExecutorService ( ) ; throw new PoolInitializationException ( t ) ; }
Log the Throwable that caused pool initialization to fail and then throw a PoolInitializationException with that cause attached .