Set fragments when reusing validation exceptions
Split ValidatorCache into its own file