ret = findById(id, beanClass);
}
catch (Exception e2)
{
String msg = LogUtil.error(getClass(), "Persistence error.", e2);
throw new PersistentObjectNotFoundException(msg, e2);
}
}
catch (EntityNotFoundException e)
{
String msg = LogUtil.error(getClass(), "Persistence error.", e);
throw new PersistentObjectNotFoundException(msg, e);
}
catch (Exception e)
{
throw createLoggedException(e);
}