* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Asm89\Twig\CacheExtension\Exception; class InvalidCacheLifetimeException extends BaseException { /** * {@inheritdoc} */ public function __construct($lifetime, $code = 0, \Exception $previous = null) { parent::__construct(sprintf('Value "%s" is not a valid lifetime.', gettype($lifetime)), $code, $previous); } }