PHP: Do not apply write validators to exceptions