src/CreateNotFoundExceptionCapableTrait.php
protected function _createNotFoundException(
        $message = null,
        $code = null,
        RootException $previous = null,
        BaseContainerInterface $container = null,
        $dataKey = null
    ) {
        return new NotFoundException($message, $code, $previous, $container, $dataKey);
    }
protected function _createNotFoundException(
        $message = null,
        $code = null,
        RootException $previous = null,
        BaseContainerInterface $container = null,
        $dataKey = null
    ) {
        return new NotFoundException($message, $code, $previous, $container, $dataKey);
    }
protected function _createNotFoundException ( $ message = null , $ code = null , RootException $ previous = null , BaseContainerInterface $ container = null , $ dataKey = null ) { return new NotFoundException ( $ message , $ code , $ previous , $ container , $ dataKey ) ; }
Creates a new not found exception.

@param string|Stringable|null      $message   The exception message, if any.
@param int|string|Stringable|null  $code      The numeric exception code, if any.
@param RootException|null          $previous  The inner exception, if any.
@param BaseContainerInterface|null $container The associated container, if any.
@param string|Stringable|null      $dataKey   The missing data key, if any.

@since [*next-version*]

@return NotFoundException The new exception.
Creates a new not found exception .