aboutsummaryrefslogtreecommitdiff
path: root/integration/src/main/kotlin/org
diff options
context:
space:
mode:
Diffstat (limited to 'integration/src/main/kotlin/org')
-rw-r--r--integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt
index 49481089..7c6753d4 100644
--- a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt
+++ b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt
@@ -18,7 +18,7 @@ enum class Platform(val key: String) {
js.key -> js
native.key -> native
common.key -> common
- else -> TODO("write normal exception")
+ else -> throw IllegalArgumentException("Unrecognized platform: $key")
}
}
}