have some code

   public static String somefoo(HttpServletRequest request,
            HttpServletResponse response) {
 callfoo();
}

callfoo()
{
            try {
                userLogin = delegator.findByPrimaryKey("UserLogin", UtilMisc
                        .toMap("userLoginId", "someloginID"));
            } catch (GenericEntityException e) {
                Debug
                        .logError(
                                e.getMessage()+
                                "Unable to find login in UserLogin;
Check seed data",module);
            }
 }

when the someloginID is not found should get and excepton
but logs says
Exception error in somefoo
not
Exception error in callfoo
nor does the debug.logerror show up.
is this a problem with the GenericEntityException


Reply via email to