From: Simon Marchi Date: Wed, 5 Jun 2019 14:36:07 +0000 (-0400) Subject: bt2: remove unused exception types X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=7e4b80cc148d07716d605eb220f6f54aeddd9363 bt2: remove unused exception types 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 Reviewed-on: https://review.lttng.org/c/babeltrace/+/1381 Tested-by: jenkins Reviewed-by: Philippe Proulx --- diff --git a/bindings/python/bt2/bt2/__init__.py.in b/bindings/python/bt2/bt2/__init__.py.in index 40227fd0..f0e4e4b2 100644 --- a/bindings/python/bt2/bt2/__init__.py.in +++ b/bindings/python/bt2/bt2/__init__.py.in @@ -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