make ValidationError class immutable

make ValidationError class immutable

setFileName / Sentence are left for dependencies from other classes