From d021821db511f91f185b2ce8bf866e662a907470 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 26 Oct 2015 17:41:22 +0300 Subject: [PATCH] Minor, add constructors with messages and causes to KotlinReflectionNotSupportedError --- .../jvm/KotlinReflectionNotSupportedError.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/runtime.jvm/src/kotlin/jvm/KotlinReflectionNotSupportedError.java b/core/runtime.jvm/src/kotlin/jvm/KotlinReflectionNotSupportedError.java index c6ae745a1d9..1ed8d97c1de 100644 --- a/core/runtime.jvm/src/kotlin/jvm/KotlinReflectionNotSupportedError.java +++ b/core/runtime.jvm/src/kotlin/jvm/KotlinReflectionNotSupportedError.java @@ -20,4 +20,16 @@ public class KotlinReflectionNotSupportedError extends Error { public KotlinReflectionNotSupportedError() { super("Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath"); } + + public KotlinReflectionNotSupportedError(String message) { + super(message); + } + + public KotlinReflectionNotSupportedError(String message, Throwable cause) { + super(message, cause); + } + + public KotlinReflectionNotSupportedError(Throwable cause) { + super(cause); + } }