Not the bosses, but from the weapon effect ‘Executioner’.
Any kill with that effect will not give xp.