
    /I_=                         S SK r \ R                  " 5       r " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r " S S\5      r	 " S S\5      r
 " S S\5      rg)    Nc                   0    \ rS rSrSrS rS rS rS rSr	g)	Error   z%Base class for exceptions in ifupdownc                 B    [         R                  U R                  5        g N)logerrormessageselfs    +/usr/share/ifupdown2/ifupdown/exceptions.py	log_errorError.log_error       		$,,    c                 B    [         R                  U R                  5        g r   )r   warningr
   r   s    r   log_warningError.log_warning   s    DLL!r   c                 B    [         R                  U R                  5        g r   )r   infor
   r   s    r   log_infoError.log_info   s    r   c                 B    [         R                  U R                  5        g r   )r   debugr
   r   s    r   	log_debugError.log_debug   r   r    N)
__name__
__module____qualname____firstlineno____doc__r   r   r   r   __static_attributes__r   r   r   r   r      s    / " r   r   c                       \ rS rSrSrSrg)ArgvParseError   z$
Exception coming from argv parsing
r   Nr   r    r!   r"   r#   r$   r   r   r   r&   r&      s     	r   r&   c                       \ rS rSrSrSrg)ArgvParseHelp&   z
When ifupdown2 is called with --help argparse raise SystemExit
we need to catch this to properly print the help and exit 0 not 1
r   Nr(   r   r   r   r*   r*   &   s     	r   r*   c                       \ rS rSrSrg)ifaceNotFoundError.   r   Nr   r    r!   r"   r$   r   r   r   r-   r-   .       r   r-   c                       \ rS rSrSrg)invalidValueError2   r   Nr/   r   r   r   r2   r2   2   r0   r   r2   c                       \ rS rSrSrg)errorReadingStateError6   r   Nr/   r   r   r   r5   r5   6   r0   r   r5   c                       \ rS rSrSrg)moduleNotSupported:   r   Nr/   r   r   r   r8   r8   :   r0   r   r8   c                       \ rS rSrSrg)ReservedVlanException>   r   Nr/   r   r   r   r;   r;   >   r0   r   r;   )logging	getLoggerr   	Exceptionr   r&   r*   r-   r2   r5   r8   r;   r   r   r   <module>r@      sx     I   	U 		E 		 		 		U 		 		E 	r   