catch clause parameter is always not null

This commit is contained in:
Dmitry Jemerov
2012-06-01 17:47:25 +02:00
committed by Pavel V. Talanov
parent d0b46704d3
commit 5be56e15ba
6 changed files with 11 additions and 11 deletions
@@ -2,10 +2,10 @@ try
{
callMethod(params)
}
catch (e : Exception?) {
catch (e : Exception) {
println(1)
}
catch (e : IOException?) {
catch (e : IOException) {
println(0)
}
finally
@@ -1,10 +1,10 @@
try
{
}
catch (e : Exception?) {
catch (e : Exception) {
println(1)
}
catch (e : IOException?) {
catch (e : IOException) {
println(0)
}
finally
@@ -1,10 +1,10 @@
try
{
}
catch (e : Exception?) {
catch (e : Exception) {
println(1)
}
catch (e : IOException?) {
catch (e : IOException) {
println(0)
}
finally
@@ -1,9 +1,9 @@
try
{
}
catch (e : Exception?) {
catch (e : Exception) {
println(1)
}
catch (e : IOException?) {
catch (e : IOException) {
println(0)
}