Moved validation of --%throws
annotation values.
#1038
Merged
--%throws
annotation values.
#1038