Cartalyst\Sentinel\Checkpoints\ThrottleCheckpoint::throwException PHP Method

throwException() protected method

Throws a throttling exception.
protected throwException ( string $message, string $type, integer $delay )
$message string
$type string
$delay integer
    protected function throwException($message, $type, $delay)
    {
        $exception = new ThrottlingException($message);
        $exception->setDelay($delay);
        $exception->setType($type);
        throw $exception;
    }