passing exception name as string is no longer supported