aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportInitializer.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r--Source/SPExportInitializer.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m
index 26cdd0dc..7794d1e4 100644
--- a/Source/SPExportInitializer.m
+++ b/Source/SPExportInitializer.m
@@ -168,6 +168,12 @@
case SPDotExport:
exportTypeLabel = @"Dot";
break;
+ case SPPDFExport:
+ case SPHTMLExport:
+ case SPExcelExport:
+ default:
+ [NSException raise:NSInvalidArgumentException format:@"unsupported exportType=%lu",exportType];
+ return;
}
// Begin the export based on the source