added exceptions to ConnectionBean