convert a class cast exception on property retrieval into a FlowValidationException