lib: remove INVALID_PARAMS status
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py.in
index ba17f1bed030ef01e8d445c44ed132fa0ca896bc..b3a83a981cace0847402bd713f4245ae5e831474 100644 (file)
@@ -23,6 +23,7 @@
 __version__ = '@PACKAGE_VERSION@'
 
 
+from bt2.interrupter import *
 from bt2.clock_class import *
 from bt2.clock_snapshot import *
 from bt2.component import *
@@ -38,6 +39,7 @@ from bt2.component import _UserSourceComponent
 from bt2.connection import *
 from bt2.connection import _Connection
 from bt2.error import *
+from bt2.error import _Error
 from bt2.event import _Event
 from bt2.event_class import *
 from bt2.field_class import *
@@ -68,26 +70,18 @@ from bt2.value import _IntegerValue
 from bt2.clock_snapshot import _UnknownClockSnapshot
 
 
-class CreationError(Error):
-    '''Raised when object creation fails due to memory issues.'''
+class _MemoryError(_Error):
+    '''Raised when an operation fails due to memory issues.'''
 
 
 class InvalidObject(Exception):
     pass
 
 
-class InvalidParams(Exception):
-    pass
-
-
 class OverflowError(OverflowError):
     pass
 
 
-class Unsupported(Exception):
-    pass
-
-
 class TryAgain(Exception):
     pass
 
@@ -100,18 +94,6 @@ class IncompleteUserClass(Exception):
     pass
 
 
-class Canceled(Exception):
-    pass
-
-
-class NonexistentClockSnapshot(Exception):
-    pass
-
-
-class LoadingError(Error):
-    pass
-
-
 class _ListenerHandle:
     def __init__(self, listener_id, obj):
         self._listener_id = listener_id
This page took 0.024524 seconds and 4 git commands to generate.