Sulu\Bundle\MediaBundle\Media\Exception\FileVersionNotFoundException::__construct PHP Method

__construct() public method

public __construct ( integer $id, integer $version )
$id integer
$version integer
    public function __construct($id, $version)
    {
        parent::__construct('File version ' . $version . ' of the Media with id ' . $id . ' ', self::EXCEPTION_CODE_FILE_VERSION_NOT_FOUND);
    }
FileVersionNotFoundException