diff --git a/framework/core/src/Http/RouteNotFoundException.php b/framework/core/src/Http/RouteNotFoundException.php index 534f58a54..840f7768d 100644 --- a/framework/core/src/Http/RouteNotFoundException.php +++ b/framework/core/src/Http/RouteNotFoundException.php @@ -6,4 +6,8 @@ use Exception; class RouteNotFoundException extends Exception { + public function __construct($message = null, $code = 404, Exception $previous = null) + { + parent::__construct($message, $code, $previous); + } }