Don't use RuntimeError.  Use some more specific.