Added the runtime exception at catch.