// static initalized static { try { initConnectionPool(); } catch (SQLException e) { System.out.println("---Connection Create Error--"); e.printStackTrace(); } catch (ClassNotFoundException e2) { System.out.println("--Driver Class Not Founder Error--"); e2.printStackTrace(); } }