I still feel bad about what Smith underwent. He lost one year of his international career, when his form was at the peak (Warner as well). But what Smith did was something that a lot of people do. Instead of using saliva or sweat, he used sandpaper.
I am not sure if everyone playing International cricket in the last decade would think about anything like that when hundreds of camera is capturing every move you make and if Smith and Warner was foolish enough to be not aware of that and if anyone did that they will be embarrassed like them. The punishment was excessive but CA is moving away from the aggressive game play for a long time and may be that is the reason they got the harsh punishment.
The case with Tim Paine is entirely different. The ICC or Cricket Australia has nothing to do with this topic. It is his personal issue and he needs to deal with it. Having an affair outside marriage is not breaking any of the ICC rules, as far as I know.
Having an affair outside marriage is not breaking any rules and regulation, but sending nude picture to random girls is an offense
. Consider how harsh the punishment of Smith and Warner for scratching with sandpaper, sending nude picture is a worst offense
.