TRUNK-2897

Added a ValidationException class