summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLTileSource.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLTileSource.mm')
-rw-r--r--platform/darwin/src/MGLTileSource.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLTileSource.mm b/platform/darwin/src/MGLTileSource.mm
index 2fafc6fb51..eef3b33430 100644
--- a/platform/darwin/src/MGLTileSource.mm
+++ b/platform/darwin/src/MGLTileSource.mm
@@ -25,7 +25,7 @@ const MGLTileSourceOption MGLTileSourceOptionDEMEncoding = @"MGLTileSourceOption
@implementation MGLTileSource
- (NSURL *)configurationURL {
- [NSException raise:@"MGLAbstractClassException"
+ [NSException raise:MGLAbstractClassException
format:@"MGLTileSource is an abstract class"];
return nil;
}
@@ -41,7 +41,7 @@ const MGLTileSourceOption MGLTileSourceOptionDEMEncoding = @"MGLTileSourceOption
}
- (NSString *)attributionHTMLString {
- [NSException raise:@"MGLAbstractClassException"
+ [NSException raise:MGLAbstractClassException
format:@"MGLTileSource is an abstract class"];
return nil;
}