import the ValidationError exception