X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2F__init__.py.in;fp=bindings%2Fpython%2Fbt2%2Fbt2%2F__init__.py.in;h=40227fd040bd20c8fb3467f41903638fb1530a2d;hp=3dac124e4747406c5d17d15198f58dca5ea797cd;hb=9ec609eca33472c516129ba3b1257fbfc1978e77;hpb=1eccc498917f855490876fc8b3e41f90f89f1c6d diff --git a/bindings/python/bt2/bt2/__init__.py.in b/bindings/python/bt2/bt2/__init__.py.in index 3dac124e..40227fd0 100644 --- a/bindings/python/bt2/bt2/__init__.py.in +++ b/bindings/python/bt2/bt2/__init__.py.in @@ -71,7 +71,7 @@ class Error(Exception): class CreationError(Error): - pass + '''Raised when object creation fails due to memory issues.''' class Frozen(Error): @@ -126,6 +126,10 @@ class ConnectionEnded(Exception): pass +class NoDefaultClockClass(Error): + pass + + class _ListenerHandle: def __init__(self, listener_id, obj): self._listener_id = listener_id