ó
æNXc           @   sd   d  Z  d d l Z d d l Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d S(	   s!   Exception classes used by PexpectiÿÿÿÿNt   ExceptionPexpectc           B   s)   e  Z d  Z d „  Z d „  Z d „  Z RS(   s9   Base class for all exceptions raised by this module.
    c         C   s#   t  t |  ƒ j | ƒ | |  _ d  S(   N(   t   superR    t   __init__t   value(   t   selfR   (    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyR   
   s    c         C   s   t  |  j ƒ S(   N(   t   strR   (   R   (    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyt   __str__   s    c         C   sn   t  j t j ƒ  d ƒ } g  | D], } d | d k r  d | d k r  | ^ q  } t  j | ƒ } d j | ƒ S(   s¬   This returns an abbreviated stack trace with lines that only concern
        the caller. In other words, the stack trace inside the Pexpect module
        is not included. i   s   pexpect/__init__i    s   pexpect/expectt    (   t	   tracebackt
   extract_tbt   syst   exc_infot   format_listt   join(   R   t   tblistt   item(    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyt	   get_trace   s
    (   t   __name__t
   __module__t   __doc__R   R   R   (    (    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyR       s   		t   EOFc           B   s   e  Z d  Z RS(   sR   Raised when EOF is read from a child.
    This usually means the child has exited.(   R   R   R   (    (    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyR      s   t   TIMEOUTc           B   s   e  Z d  Z RS(   s-   Raised when a read time exceeds the timeout. (   R   R   R   (    (    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyR   "   s   (   R   R   R
   t	   ExceptionR    R   R   (    (    (    sJ   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/pexpect/exceptions.pyt   <module>   s
   