Added a ValidationException class

Added @since annotation - TRUNK-2897

Updated the class level javadocs - TRUNK-2897