raise RuntimeError instead of Exception