/** * Throws a throttling exception. * * @param string $message * @param string $type * @param int $delay * @throws \Cartalyst\Sentinel\Checkpoints\ThrottlingException */ protected function throwException($message, $type, $delay) { $exception = new ThrottlingException($message); $exception->setDelay($delay); $exception->setType($type); throw $exception; }