JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr3 JZ @sTGdddeZGdddeZGdddeZGdddeZGdd d eZd S) c@s&eZdZdZdddZddZeZdS) ErrorzQBase exception class. All other psutil exceptions inherit from this one. cCstj||||_dS)N) Exception__init__msg)selfrr#/usr/lib64/python3.6/_exceptions.pyr s zError.__init__cCsd|jj|jf}|jS)Nz psutil.%s %s) __class____name__rstrip)rretrrr__repr__szError.__repr__N)r)r __module__ __qualname____doc__rr __str__rrrrrs rc@seZdZdZdddZdS) NoSuchProcesszXException raised when a process with a certain PID doesn't or no longer exists. NcCsXtj||||_||_||_|dkrT|r@d|jt|jf}n d|j}d||_dS)Nz(pid=%s, name=%s)z(pid=%s)zprocess no longer exists )rrpidnamerrepr)rrrrdetailsrrrrs  zNoSuchProcess.__init__)NN)r rrrrrrrrrsrc@seZdZdZdddZdS) ZombieProcessa/Exception raised when querying a zombie process. This is raised on OSX, BSD and Solaris only, and not always: depending on the query the OS may be able to succeed anyway. On Linux all zombie processes are querable (hence this is never raised). Windows doesn't have zombie processes. NcCs~tj||||_||_||_||_|dkrzd|g}|rN|jdt|j|rb|jd|jddj|}d||_dS)Nzpid=%szname=%szppid=%sz(%s)z, z'process still exists but it's a zombie ) rrrppidrrappendrjoin)rrrrrargsrrrrr0s  zZombieProcess.__init__)NNN)r rrrrrrrrr(src@seZdZdZdddZdS) AccessDeniedz@Exception raised when permission to perform an action is denied.NcCsjtj||||_||_||_|dkrf|dk rJ|dk rJd|t|f|_n|dk r`d|j|_nd|_dS)Nz(pid=%s, name=%s)z(pid=%s)r)rrrrrr)rrrrrrrrCs zAccessDenied.__init__)NNN)r rrrrrrrrr@src@seZdZdZdddZdS)TimeoutExpiredzWRaised on Process.wait(timeout) if timeout expires and process is still alive. NcCsntj|d|||_||_||_|dk rN|dk rN|jd|t|f7_n|dk rj|jd|j7_dS)Nztimeout after %s secondsz (pid=%s, name=%s)z (pid=%s))rrsecondsrrrr)rrrrrrrrVszTimeoutExpired.__init__)NN)r rrrrrrrrrQsrN)rrrrrrrrrrs