create custom validation exception class