Why do we need to wrap the exception?