Added option to customise the exception class thrown in Validations;