ó
è?F[c           @   s‹  d  d l  Z  d  d l m Z d  d l m Z 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 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! 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/ e f d0 „  ƒ  YZ d1 e f d2 „  ƒ  YZ d3 e f d4 „  ƒ  YZ d5 e f d6 „  ƒ  YZ d7 e f d8 „  ƒ  YZ d9 e f d: „  ƒ  YZ  d S(;   iÿÿÿÿN(   t   json(   t   BotoServerErrorc         C   sc   |  j  } | j d ƒ r* | j d ƒ } n  y  t t j t | ƒ |  ƒ } Wn t k
 r^ |  SX| S(   Nt	   Exception(   t   codet   endswitht   rstript   getattrt   syst   modulest   __name__t   AttributeError(   t   eR   t   simple_e(    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyt   simple   s    	 t   SimpleExceptionc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         C   s5   t  t |  ƒ j | j | j | j ƒ |  j |  _ d  S(   N(   t   superR   t   __init__t   statust   reasont   bodyt   messaget   error_message(   t   selfR   (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR      s    %c         C   s   |  j  j d |  j S(   Ns   : (   t	   __class__R	   R   (   R   (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyt   __repr__   s    c         C   s   |  j  j d |  j S(   Ns   : (   R   R	   R   (   R   (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyt   __str__   s    (   R	   t
   __module__R   R   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR      s   		t   ValidationErrorc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR   !   s    t   IncompleteSignaturec           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR   $   s    t   InternalFailurec           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR   %   s    t   InvalidActionc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR   &   s    t   InvalidClientTokenIdc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR   '   s    t   InvalidParameterCombinationc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR    (   s    t   InvalidParameterValuec           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR!   )   s    t   InvalidQueryParameterc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR"   *   s    t   MalformedQueryStringc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR#   +   s    t   MissingActionc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR$   ,   s    t   MissingAuthenticationTokenc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR%   -   s    t   MissingParameterc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR&   .   s    t   OptInRequiredc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR'   /   s    t   RequestExpiredc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR(   0   s    t   ServiceUnavailablec           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR)   1   s    t
   Throttlingc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR*   2   s    t   TooManyApplicationsc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR+   6   s    t   InsufficientPrivilegesc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR,   7   s    t   S3LocationNotInServiceRegionc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR-   8   s    t   TooManyApplicationVersionsc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR.   9   s    t   TooManyConfigurationTemplatesc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR/   :   s    t   TooManyEnvironmentsc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR0   ;   s    t   S3SubscriptionRequiredc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR1   <   s    t   TooManyBucketsc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR2   =   s    t   OperationInProgressc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR3   >   s    t   SourceBundleDeletionc           B   s   e  Z RS(    (   R	   R   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyR4   ?   s    (!   R   t   boto.compatR    t   boto.exceptionR   R   R   R   R   R   R   R   R    R!   R"   R#   R$   R%   R&   R'   R(   R)   R*   R+   R,   R-   R.   R/   R0   R1   R2   R3   R4   (    (    (    s7   lib/python2.7/site-packages/boto/beanstalk/exception.pyt   <module>   s<   	