Make Throwable properties message and cause open.

#KT-5587 Fixed
This commit is contained in:
Ilya Gorbunov
2016-02-03 20:58:42 +03:00
parent f12c653aed
commit 5361f6e941
14 changed files with 68 additions and 41 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ package kotlin
* @param message the detail message string.
* @param cause the cause of this throwable.
*/
public open class Throwable(val message: String?, val cause: Throwable?) {
public open class Throwable(open val message: String?, open val cause: Throwable?) {
constructor(message: String?) : this(message, null)
constructor(cause: Throwable?) : this(cause?.toString(), cause)