exception printing