From 3fc8223f92ba140dbfa8e8371157b3bf782bda85 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Tue, 14 Jul 2020 18:29:48 +0200 Subject: Mark `DokkaBootstrap` with `Throws` annotation to avoid "UndeclaredThrowableException" when used with automagicProxy --- core/src/main/kotlin/DokkaBootstrap.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/src') diff --git a/core/src/main/kotlin/DokkaBootstrap.kt b/core/src/main/kotlin/DokkaBootstrap.kt index ffaae03e..159172a5 100644 --- a/core/src/main/kotlin/DokkaBootstrap.kt +++ b/core/src/main/kotlin/DokkaBootstrap.kt @@ -1,8 +1,11 @@ package org.jetbrains.dokka import java.util.function.BiConsumer +import kotlin.jvm.Throws interface DokkaBootstrap { fun configure(serializedConfigurationJSON: String, logger: BiConsumer) + + @Throws(Throwable::class) fun generate() } -- cgit