Throw exception of failed class instance loading for location customizers