Commit 9ed04445 authored by hazuki's avatar hazuki
Browse files

Fix throwable

parent 5589e546
Showing with 1 addition and 1 deletion
+1 -1
......@@ -24,7 +24,7 @@ class OpenUrl(private val url: String, override val target: Int) : BrowserOpenab
get() = 1
override fun get(index: Int): String {
if (index != 0) throw IllegalArgumentException()
if (index != 0) throw IndexOutOfBoundsException("Index: $index, Size: $size")
return url
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment