On edge

Nervous or irritable.

The boy is on edge because of his exams.