An utterance is either interactive or exclamative. An exclamative utterance uses the basic illocution of some sentence type, but dispenses with its interactive – i.e., hearer-directed – force.
A sentence of just any type may be cried out loudly. This is not the criterion by which it becomes an exclamative sentence. Instead, a sentence belongs to an exclamative sentence type if it comprises special structural features which mark it off against its underlying sentence type.
Es ist schönes Wetter. Was für ein schönes Wetter! Wo ist er gewesen? Wo ist er nicht alles gewesen! Geh zu deiner Freundin! Géh doch zu deiner Freundin!A similar contrast is possible with optative sentences:
Möge Erna bald gesund werden. Ach wenn Erna doch bald gesund würde!However, even a non-exclamative optative sentences has only a weak interactive component.