Test data: replace Exception with Throwable (in those tests where particular exception type is not crucial in order not to rename tests to have runtime dependency added with exception typealiases).

This commit is contained in:
Ilya Gorbunov
2016-08-12 20:21:35 +03:00
parent 3115aa1dc2
commit 2a0076d9bd
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ fun test(<warning>l</warning> : List<Int>) {
try {
// ...
}
catch(e: Exception) {
catch(e: Throwable) {
System.out.println(e.message)
}