Issue #501 - Override ERROR_CLASS in validation Sample 4 as a test case.