Whether anger is only towards those to whom one has an obligation of justice?

Objections

Objection 1 : It would seem that anger is not only towards those to whom one has an obligation of justice. For there is no justice between man and irrational beings. And yet sometimes one is angry with irrational beings; thus, out of anger, a writer throws away his pen, or a rider strikes his horse. Therefore anger is not only towards those to whom one has an obligation of justice.
Objection 2 : Further, "there is no justice towards oneself . . . nor is there justice towards one's own" (Ethic. v, 6). But sometimes a man is angry with himself; for instance, a penitent, on account of his sin; hence it is written (Ps. 4:5): "Be ye angry and sin not." Therefore anger is not only towards those with whom one has a relation of justice.
Objection 3 : Further, justice and injustice can be of one man towards an entire class, or a whole community: for instance, when the state injures an individual. But anger is not towards a class but only towards an individual, as the Philosopher states (Rhet. ii, 4). Therefore properly speaking, anger is not towards those with whom one is in relation of justice or injustice.