new usage of headers in the exception