ditto: suggest updating checkProxyContraints to throw an exception with a meaningful message rather than capturing it and rewriting the message.