Transform Throwable members to properties
This commit is contained in:
committed by
Mikhail Glukhikh
parent
9088bf67c7
commit
17c906658d
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user