Can an emotion be wrong?

Everyone agrees that behaving angrily can be wrong in some circumstances, but what about being angry itself? Can an emotion (or the thought-content associated with the feeling) be wrong in itself?