exception handling within JndiUtil