Fixed accidental use of wrong "RuntimeException"