Can you add `ex` as a second argument to the RuntimException? It does not harm to show the full stack trace.