Ņō
ðgcJc           @   sĪ   d  Z  d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d	 e f d
     YZ d e f d     YZ d e f d     YZ d S(   s!   
Exceptions defined by paramiko.
t   SSHExceptionc           B   s   e  Z d  Z RS(   sT   
    Exception raised by failures in SSH2 protocol negotiation or logic errors.
    (   t   __name__t
   __module__t   __doc__(    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR       s   t   AuthenticationExceptionc           B   s   e  Z d  Z RS(   sĖ   
    Exception raised when authentication failed for some reason.  It may be
    possible to retry with different credentials.  (Other classes specify more
    specific reasons.)
    
    @since: 1.6
    (   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR      s   t   PasswordRequiredExceptionc           B   s   e  Z d  Z RS(   sR   
    Exception raised when a password is needed to unlock a private key file.
    (   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   *   s   t   BadAuthenticationTypec           B   s&   e  Z d  Z g  Z d   Z d   Z RS(   s  
    Exception raised when an authentication type (like password) is used, but
    the server isn't allowing that type.  (It may only allow public-key, for
    example.)
    
    @ivar allowed_types: list of allowed authentication types provided by the
        server (possible values are: C{"none"}, C{"password"}, and
        C{"publickey"}).
    @type allowed_types: list
    
    @since: 1.1
    c         C   s   t  i |  |  | |  _ d  S(   N(   R   t   __init__t   allowed_types(   t   selft   explanationt   types(    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   @   s    c         C   s   t  i |   d |  i S(   Ns    (allowed_types=%r)(   R    t   __str__R   (   R	   (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   D   s    (   R   R   R   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   1   s   	t   PartialAuthenticationc           B   s   e  Z d  Z g  Z d   Z RS(   sM   
    An internal exception thrown in the case of partial authentication.
    c         C   s   t  i |  d  | |  _ d  S(   Ns   partial authentication(   R   R   R   (   R	   R   (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   N   s    (   R   R   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   H   s   t   ChannelExceptionc           B   s   e  Z d  Z d   Z RS(   sŪ   
    Exception raised when an attempt to open a new L{Channel} fails.
    
    @ivar code: the error code returned by the server
    @type code: int
    
    @since: 1.6
    c         C   s   t  i |  |  | |  _ d  S(   N(   R    R   t   code(   R	   R   t   text(    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   \   s    (   R   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   S   s   t   BadHostKeyExceptionc           B   s   e  Z d  Z d   Z RS(   sR  
    The host key given by the SSH server did not match what we were expecting.
    
    @ivar hostname: the hostname of the SSH server
    @type hostname: str
    @ivar key: the host key presented by the server
    @type key: L{PKey}
    @ivar expected_key: the host key expected
    @type expected_key: L{PKey}
    
    @since: 1.6
    c         C   s3   t  i |  d |  | |  _ | |  _ | |  _ d  S(   Ns&   Host key for server %s does not match!(   R    R   t   hostnamet   keyt   expected_key(   R	   R   t   got_keyR   (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   n   s    		(   R   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyR   a   s   N(	   R   t	   ExceptionR    R   R   R   R   R   R   (    (    (    sU   C:\Documents and Settings\red08xgu\Desktop\python_webupdate\paramiko\ssh_exception.pyt   <module>   s   