bt2: remove unused exception types
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 5 Jun 2019 14:36:07 +0000 (10:36 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 5 Jun 2019 17:47:34 +0000 (13:47 -0400)
There are several exception types defined in __init__.py.in that are not
used anywhere, remove them.

Change-Id: I6ba2c62689a4dc72f4b5325715962a7721169e07
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1381
Tested-by: jenkins
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
bindings/python/bt2/bt2/__init__.py.in

index 40227fd040bd20c8fb3467f41903638fb1530a2d..f0e4e4b2886cc712bab8217e783ed13268d8f5d0 100644 (file)
@@ -74,10 +74,6 @@ class CreationError(Error):
     '''Raised when object creation fails due to memory issues.'''
 
 
-class Frozen(Error):
-    pass
-
-
 class InvalidQueryObject(Error):
     pass
 
@@ -86,10 +82,6 @@ class InvalidQueryParams(Error):
     pass
 
 
-class UnsupportedFeature(Exception):
-    pass
-
-
 class TryAgain(Exception):
     pass
 
@@ -106,10 +98,6 @@ class IncompleteUserClass(Error):
     pass
 
 
-class CannotConsumeGraph(Error):
-    pass
-
-
 class GraphCanceled(Exception):
     pass
 
@@ -118,14 +106,6 @@ class QueryExecutorCanceled(Exception):
     pass
 
 
-class MessageIteratorCanceled(Exception):
-    pass
-
-
-class ConnectionEnded(Exception):
-    pass
-
-
 class NoDefaultClockClass(Error):
     pass
 
This page took 0.024885 seconds and 4 git commands to generate.