placing header in Exception classes