Make ConfigParser.Error inherit from Exception.
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py
index 59bf4b5..2f60742 100644
--- a/Lib/ConfigParser.py
+++ b/Lib/ConfigParser.py
@@ -96,11 +96,13 @@
 
 
 # exception classes
-class Error:
+class Error(Exception):
     def __init__(self, msg=''):
         self._msg = msg
+        Exception.__init__(self, msg)
     def __repr__(self):
         return self._msg
+    __str__ = __repr__
 
 class NoSectionError(Error):
     def __init__(self, section):