You need to check that there is a proxy instantiator, if not, an exception should be thrown.