• Home
  • Raw
  • Download

Lines Matching full:exceptions

1 .. _bltin-exceptions:
3 Built-in Exceptions
6 .. module:: exceptions
10 Exceptions should be class objects. The exceptions are defined in the module
11 :mod:`exceptions`. This module never needs to be imported explicitly: the
12 exceptions are provided in the built-in namespace as well as the
13 :mod:`exceptions` module.
19 For class exceptions, in a :keyword:`try` statement with an :keyword:`except`
27 The built-in exceptions listed below can be generated by the interpreter or
36 User code can raise built-in exceptions. This can be used to test an exception
41 The built-in exception classes can be subclassed to define new exceptions;
42 programmers are encouraged to derive new exceptions from the :exc:`Exception`
44 information on defining exceptions is available in the Python Tutorial under
47 The following exceptions are only used as base classes for other exceptions.
51 The base class for all built-in exceptions. It is not meant to be directly
62 exceptions (like :exc:`IOError`) expect a certain number of arguments and
69 All built-in, non-system-exiting exceptions are derived from this class. All
70 user-defined exceptions should also be derived from this class.
78 The base class for all built-in exceptions except :exc:`StopIteration`,
85 The base class for those built-in exceptions that are raised for various
98 The base class for the exceptions that are raised when a key or index used on
105 The base class for exceptions that can occur outside the Python system:
106 :exc:`IOError`, :exc:`OSError`. When exceptions of this type are created with a
126 The following exceptions are the exceptions that are actually raised.
257 For exceptions that involve a file system path (such as :func:`chdir` or
473 The following exceptions are used as warning categories; see the :mod:`warnings`
530 The class hierarchy for built-in exceptions is: