You are here

public function ProcessTimedOutException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Exception/ProcessTimedOutException.php \Symfony\Component\Process\Exception\ProcessTimedOutException::__construct()

File

vendor/symfony/process/Exception/ProcessTimedOutException.php, line 29

Class

ProcessTimedOutException
Exception that is thrown when a process times out.

Namespace

Symfony\Component\Process\Exception

Code

public function __construct(Process $process, $timeoutType) {
  $this->process = $process;
  $this->timeoutType = $timeoutType;
  parent::__construct(sprintf('The process "%s" exceeded the timeout of %s seconds.', $process
    ->getCommandLine(), $this
    ->getExceededTimeout()));
}