Correct Exception handling inside the ProxyWrapper.