Transform Throwable members to properties

This commit is contained in:
Denis Zharkov
2015-10-13 20:30:29 +03:00
committed by Mikhail Glukhikh
parent 9088bf67c7
commit 17c906658d
22 changed files with 63 additions and 51 deletions
+1 -11
View File
@@ -22,17 +22,7 @@ package kotlin
* @param message the detail message string.
* @param cause the cause of this throwable.
*/
public open class Throwable(message: String? = null, cause: Throwable? = null) {
/**
* Returns the detail message of this throwable.
*/
public fun getMessage(): String?
/**
* Returns the cause of this throwable.
*/
public fun getCause(): Throwable?
public open class Throwable(val message: String? = null, val cause: Throwable? = null) {
/**
* Prints the stack trace of this throwable to the standard output.
*/