diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2018-08-09 13:35:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 13:35:28 -0400 |
commit | ec7b920603299f66332df3b324ed481c732b3657 (patch) | |
tree | 4561cda90d0a1a75f84f72f3a077a6e6b954c92b /platform/darwin/src/MGLTileSource.mm | |
parent | a378d6fc9b71d5a40750158c5f7c475669408052 (diff) | |
download | qtlocation-mapboxgl-ec7b920603299f66332df3b324ed481c732b3657.tar.gz |
[ios] Standardize exception definitions
Diffstat (limited to 'platform/darwin/src/MGLTileSource.mm')
-rw-r--r-- | platform/darwin/src/MGLTileSource.mm | 4 |
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; } |