[Telepathy-commits] [telepathy-spec/master] Let RequestHandles raise NotImplemented
Will Thompson
will.thompson at collabora.co.uk
Fri Jan 2 09:39:28 PST 2009
telepathy-glib's implementation currently raises NotAvailable if a given
handle type is unimplemented, with a FIXME that this change should be
made to the spec to allow it to raise NotImplemented.
---
spec/Connection.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/spec/Connection.xml b/spec/Connection.xml
index f543a16..19c7d6e 100644
--- a/spec/Connection.xml
+++ b/spec/Connection.xml
@@ -579,6 +579,13 @@ USA.</p>
The given name is not a valid entity of the given type
</tp:docstring>
</tp:error>
+ <tp:error name="org.freedesktop.Telepathy.Error.NotImplemented">
+ <tp:docstring>
+ The given handle type is valid, but not implemented on this
+ connection. For instance, a CM for a protocol that doesn't have
+ chat rooms would not implement room handles.
+ </tp:docstring>
+ </tp:error>
</tp:possible-errors>
</method>
--
1.5.6.5
More information about the Telepathy-commits
mailing list