Checking a RuntimeError is a little bit unpleasant IMHO.