aboutsummaryrefslogtreecommitdiff
path: root/objectivec
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-05-30 19:32:03 -0400
committerThomas Van Lenten <thomasvl@google.com>2016-05-30 19:32:03 -0400
commite845187cf6b490d2c42c2382cfa9d5aef6975ef4 (patch)
tree74dc2de8414c2226aaf295ebf33162f35ce931be /objectivec
parent40ff94ebef494e2e16107ce2965215ae67c031c1 (diff)
parenta714c401a901642082dc6f1581e8b008c3c7d691 (diff)
downloadprotobuf-e845187cf6b490d2c42c2382cfa9d5aef6975ef4.tar.gz
protobuf-e845187cf6b490d2c42c2382cfa9d5aef6975ef4.tar.bz2
protobuf-e845187cf6b490d2c42c2382cfa9d5aef6975ef4.zip
Merge pull request #1620 from sergiocampama/cleanup1
Removing unused GPBExceptionMessageKey
Diffstat (limited to 'objectivec')
-rw-r--r--objectivec/GPBMessage.h7
-rw-r--r--objectivec/GPBMessage.m5
2 files changed, 0 insertions, 12 deletions
diff --git a/objectivec/GPBMessage.h b/objectivec/GPBMessage.h
index 58c42d02..2249829f 100644
--- a/objectivec/GPBMessage.h
+++ b/objectivec/GPBMessage.h
@@ -55,13 +55,6 @@ typedef NS_ENUM(NSInteger, GPBMessageErrorCode) {
GPBMessageErrorCodeMissingRequiredField = -101,
};
-#ifdef DEBUG
-/// In DEBUG ONLY, an NSException is thrown when a parsed message doesn't
-/// contain required fields. This key allows you to retrieve the parsed message
-/// from the exception's @c userInfo dictionary.
-extern NSString *const GPBExceptionMessageKey;
-#endif // DEBUG
-
CF_EXTERN_C_END
/// Base class for all of the generated message classes.
diff --git a/objectivec/GPBMessage.m b/objectivec/GPBMessage.m
index d1c5594c..f1cb3927 100644
--- a/objectivec/GPBMessage.m
+++ b/objectivec/GPBMessage.m
@@ -53,11 +53,6 @@
NSString *const GPBMessageErrorDomain =
GPBNSStringifySymbol(GPBMessageErrorDomain);
-#ifdef DEBUG
-NSString *const GPBExceptionMessageKey =
- GPBNSStringifySymbol(GPBExceptionMessage);
-#endif // DEBUG
-
static NSString *const kGPBDataCoderKey = @"GPBData";
//