/** * Calls the parent constructor. * @param null|\Exception $previousException */ public function __construct(\Exception $previousException = null) { parent::__construct("The cache pool is empty.", 0, $previousException); }
/** * Calls the parent \Exception constructor. * @param string $entryKey the adapter pool key which is not available. * @param null|\Exception $previousException */ public function __construct($entryKey, \Exception $previousException = null) { parent::__construct(sprintf('The adapter pool entry `%s` is not available.', $entryKey), 0, $previousException); }
/** * Calls the parent \Exception constructor. * @param null|\Exception $previousException */ public function __construct(\Exception $previousException = null) { parent::__construct("Could not found a ready adapter.", 0, $previousException); }