ProcessTimedOutException
        
        extends RuntimeException
    
    
            
            in package
            
        
    
    
    
Exception that is thrown when a process times out.
Tags
Table of Contents
Constants
- TYPE_GENERAL = 1
 - TYPE_IDLE = 2
 
Methods
- __construct() : mixed
 - getExceededTimeout() : float|null
 - getProcess() : Process
 - isGeneralTimeout() : bool
 - isIdleTimeout() : bool
 
Constants
TYPE_GENERAL
    public
        mixed
    TYPE_GENERAL
    = 1
    
    
    
    
TYPE_IDLE
    public
        mixed
    TYPE_IDLE
    = 2
    
    
    
    
Methods
__construct()
    public
                    __construct(Process $process, int $timeoutType) : mixed
    Parameters
- $process : Process
 - $timeoutType : int
 
getExceededTimeout()
    public
                    getExceededTimeout() : float|null
    Return values
float|nullgetProcess()
    public
                    getProcess() : Process
    Return values
ProcessisGeneralTimeout()
    public
                    isGeneralTimeout() : bool
    Return values
boolisIdleTimeout()
    public
                    isIdleTimeout() : bool