I thougth valid? was raising an exception.
Shouldn't this code catch it ?