ó
î–+[c           @   ss   d  Z  d d l Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ e ƒ  Z d d „ Z d „  Z	 e
 ƒ  j e	 ƒ  ƒ d S(	   s   
Exceptions
iÿÿÿÿNt   JoblibExceptionc           B   s/   e  Z d  Z d „  Z d „  Z d „  Z e Z RS(   sC    A simple exception with an error message that you can get to.
    c         C   s   | |  _  d  S(   N(   t   message(   t   selfR   (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt   __init__   s    c         C   s   |  j  |  j f i  f S(   N(   t	   __class__R   (   R   (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt
   __reduce__   s    c         C   s%   d |  j  j d d |  j d d f S(   Ns   %s
%s
%s
%siK   t   _(   R   t   __name__R   (   R   (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt   __repr__   s
    	(   R   t
   __module__t   __doc__R   R   R   t   __str__(    (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyR       s
   			t   TransportableExceptionc           B   s    e  Z d  Z d „  Z d „  Z RS(   sa    An exception containing all the info to wrap an original
        exception and recreate it.
    c         C   s   | |  _  | |  _ d  S(   N(   R   t   etype(   R   R   R   (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyR   %   s    	c         C   s   |  j  |  j |  j f i  f S(   N(   R   R   R   (   R   (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyR   )   s    (   R   R	   R
   R   R   (    (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyR       s   	c         C   s|   | d  k r |  j } n  d | } | t k r; t | } n7 t | |  t f t d t j d t j ƒ ƒ } | t | <| | f S(   Ns   Joblib%sR   R   (   t   NoneR   t   _exception_mappingt   typeR    t   dictR   R   (   t	   exceptiont   namet	   this_namet   this_exception(    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt   _mk_exception1   s    

c          C   sÚ   t  ƒ  }  t j d d k rC d d  l } t d „  t | ƒ ƒ } n d d  l } t | ƒ } xx | D]p } t | | ƒ } t | t	 ƒ rb t
 | t ƒ rb y& t | d | ƒ\ } } | |  | <WqÒ t k
 rÎ qÒ Xqb qb W|  S(   Ni    i   iÿÿÿÿc         S   s   |  j  d ƒ S(   Nt   Error(   t   endswith(   t   x(    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt   <lambda>H   s    R   (   R   t   syst   version_infot   builtinst   filtert   dirt
   exceptionst   getattrt
   isinstanceR   t
   issubclasst   BaseExceptionR   t	   TypeError(   t	   namespacet   _builtin_exceptionst   common_exceptionsR   t   objt   this_objR   (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt   _mk_common_exceptionsC   s"    	(   R
   R   t	   ExceptionR    R   R   R   R   R   R+   t   localst   update(    (    (    s\   /home/psgendb/BIRCHDEV/install/quast-5.2.0/quast_libs/site_packages/joblib2/my_exceptions.pyt   <module>   s   		