distutils.errors
index
/usr/lib/python2.2/distutils/errors.py

distutils.errors
 
Provides exceptions used by the Distutils modules.  Note that Distutils
modules may raise standard exceptions; in particular, SystemExit is
usually raised for errors that are obviously the end-user's fault
(eg. bad command-line arguments).
 
This module safe to use in "from ... import *" mode; it only exports
symbols whose names start with "Distutils" and end with "Error".

 
Classes
            
exceptions.Exception
CCompilerError
CompileError
LibError
LinkError
PreprocessError
UnknownFileError
DistutilsError
DistutilsArgError
DistutilsClassError
DistutilsExecError
DistutilsFileError
DistutilsGetoptError
DistutilsInternalError
DistutilsModuleError
DistutilsOptionError
DistutilsPlatformError
DistutilsSetupError
DistutilsTemplateError
 
class CCompilerError(exceptions.Exception)
      Some compile/link operation failed.
 
   Data and non-method functions defined here:
__doc__ = 'Some compile/link operation failed.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class CompileError(CCompilerError)
      Failure to compile one or more C/C++ source files.
 
  
Method resolution order:
CompileError
CCompilerError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Failure to compile one or more C/C++ source files.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsArgError(DistutilsError)
      Raised by fancy_getopt in response to getopt.error -- ie. an
error in the command line usage.
 
  
Method resolution order:
DistutilsArgError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Raised by fancy_getopt in response to getopt.error -- ie. an\n error in the command line usage.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsClassError(DistutilsError)
      Some command class (or possibly distribution class, if anyone
feels a need to subclass Distribution) is found not to be holding
up its end of the bargain, ie. implementing some part of the
"command "interface.
 
  
Method resolution order:
DistutilsClassError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Some command class (or possibly distribution cl...nting some part of the\n "command "interface.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsError(exceptions.Exception)
      The root of all Distutils evil.
 
   Data and non-method functions defined here:
__doc__ = 'The root of all Distutils evil.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsExecError(DistutilsError)
      Any problems executing an external program (such as the C
compiler, when compiling C files).
 
  
Method resolution order:
DistutilsExecError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Any problems executing an external program (such as the C\n compiler, when compiling C files).'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsFileError(DistutilsError)
      Any problems in the filesystem: expected file not found, etc.
Typically this is for problems that we detect before IOError or
OSError could be raised.
 
  
Method resolution order:
DistutilsFileError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Any problems in the filesystem: expected file n... before IOError or\n OSError could be raised.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsGetoptError(DistutilsError)
      The option table provided to 'fancy_getopt()' is bogus.
 
  
Method resolution order:
DistutilsGetoptError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = "The option table provided to 'fancy_getopt()' is bogus."
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsInternalError(DistutilsError)
      Internal inconsistencies or impossibilities (obviously, this
should never be seen if the code is working!).
 
  
Method resolution order:
DistutilsInternalError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Internal inconsistencies or impossibilities (ob... should never be seen if the code is working!).'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsModuleError(DistutilsError)
      Unable to load an expected module, or to find an expected class
within some module (in particular, command modules and classes).
 
  
Method resolution order:
DistutilsModuleError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Unable to load an expected module, or to find a...le (in particular, command modules and classes).'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsOptionError(DistutilsError)
      Syntactic/semantic errors in command options, such as use of
mutually conflicting options, or inconsistent options,
badly-spelled values, etc.  No distinction is made between option
values originating in the setup script, the command line, config
files, or what-have-you -- but if we *know* something originated in
the setup script, we'll raise DistutilsSetupError instead.
 
  
Method resolution order:
DistutilsOptionError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = "Syntactic/semantic errors in command options, s...script, we'll raise DistutilsSetupError instead."
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsPlatformError(DistutilsError)
      We don't know how to do something on the current platform (but
we do know how to do it on some platform) -- eg. trying to compile
C files on a platform not supported by a CCompiler subclass.
 
  
Method resolution order:
DistutilsPlatformError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = "We don't know how to do something on the curren... platform not supported by a CCompiler subclass."
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsSetupError(DistutilsError)
      For errors that can be definitely blamed on the setup script,
such as invalid keyword arguments to 'setup()'.
 
  
Method resolution order:
DistutilsSetupError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = "For errors that can be definitely blamed on the... such as invalid keyword arguments to 'setup()'."
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class DistutilsTemplateError(DistutilsError)
      Syntax error in a file list template.
 
  
Method resolution order:
DistutilsTemplateError
DistutilsError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Syntax error in a file list template.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class LibError(CCompilerError)
      Failure to create a static library from one or more C/C++ object
files.
 
  
Method resolution order:
LibError
CCompilerError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Failure to create a static library from one or more C/C++ object\n files.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class LinkError(CCompilerError)
      Failure to link one or more C/C++ object files into an executable
or shared library file.
 
  
Method resolution order:
LinkError
CCompilerError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Failure to link one or more C/C++ object files into an executable\n or shared library file.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class PreprocessError(CCompilerError)
      Failure to preprocess one or more C/C++ files.
 
  
Method resolution order:
PreprocessError
CCompilerError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Failure to preprocess one or more C/C++ files.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class UnknownFileError(CCompilerError)
      Attempt to process an unknown file type.
 
  
Method resolution order:
UnknownFileError
CCompilerError
exceptions.Exception

Data and non-method functions defined here:
__doc__ = 'Attempt to process an unknown file type.'
__module__ = 'distutils.errors'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
Data
             __file__ = '/usr/lib/python2.2/distutils/errors.pyc'
__name__ = 'distutils.errors'
__revision__ = '$Id: errors.py,v 1.10 2000/07/30 01:03:31 gward Exp $'