aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBMessage.h
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2017-06-19 10:21:33 -0400
committerThomas Van Lenten <thomasvl@google.com>2017-06-19 10:33:45 -0400
commit5fd71ce6312e6d7620f1f443d4181629695733a4 (patch)
tree8efd87a31e9e2e6f722365cd3a35b19c9162e578 /objectivec/GPBMessage.h
parent72e293a28f4be911b9dd7c79836e32a9b2b6e09d (diff)
downloadprotobuf-5fd71ce6312e6d7620f1f443d4181629695733a4.tar.gz
protobuf-5fd71ce6312e6d7620f1f443d4181629695733a4.tar.bz2
protobuf-5fd71ce6312e6d7620f1f443d4181629695733a4.zip
ObjC: Document the exceptions on some of the writing apis.
Diffstat (limited to 'objectivec/GPBMessage.h')
-rw-r--r--objectivec/GPBMessage.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/objectivec/GPBMessage.h b/objectivec/GPBMessage.h
index 2c325ba8..276740d2 100644
--- a/objectivec/GPBMessage.h
+++ b/objectivec/GPBMessage.h
@@ -292,6 +292,9 @@ CF_EXTERN_C_END
* Writes out the message to the given coded output stream.
*
* @param output The coded output stream into which to write the message.
+ *
+ * @note This can raise the GPBCodedOutputStreamException_* exceptions.
+ *
**/
- (void)writeToCodedOutputStream:(GPBCodedOutputStream *)output;
@@ -299,6 +302,8 @@ CF_EXTERN_C_END
* Writes out the message to the given output stream.
*
* @param output The output stream into which to write the message.
+ *
+ * @note This can raise the GPBCodedOutputStreamException_* exceptions.
**/
- (void)writeToOutputStream:(NSOutputStream *)output;
@@ -307,6 +312,8 @@ CF_EXTERN_C_END
* the given output stream.
*
* @param output The coded output stream into which to write the message.
+ *
+ * @note This can raise the GPBCodedOutputStreamException_* exceptions.
**/
- (void)writeDelimitedToCodedOutputStream:(GPBCodedOutputStream *)output;
@@ -315,6 +322,8 @@ CF_EXTERN_C_END
* the given output stream.
*
* @param output The output stream into which to write the message.
+ *
+ * @note This can raise the GPBCodedOutputStreamException_* exceptions.
**/
- (void)writeDelimitedToOutputStream:(NSOutputStream *)output;