diff --git a/phpBB/phpbb/file_downloader.php b/phpBB/phpbb/file_downloader.php
index ca8b1f4534..462b87ca51 100644
--- a/phpBB/phpbb/file_downloader.php
+++ b/phpBB/phpbb/file_downloader.php
@@ -91,7 +91,7 @@ class file_downloader
 			}
 			else
 			{
-				throw new \RuntimeException('FSOCK_DISABLED');
+				throw new \phpbb\exception\runtime_exception('FSOCK_DISABLED');
 			}
 		}