public function getNotFoundMessage(NotFoundHttpException $exception)
    {
        $message = ! empty($exception->getMessage()) ? $exception->getMessage() : class_basename($exception);
        if (basename($exception->getFile()) === 'RouteCollection.php') {
            $message = __('exception::exceptions.not_found_http.message');
        }

        return $message;
    }