Skip to content

Commit c70b470

Browse files
committed
Fix parent of ControlException
1 parent 2848427 commit c70b470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/util/control/ControlException.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package scala.util.control
1111
* Instances of `ControlException` should not normally have a cause.
1212
* Legacy subclasses may set a cause using `initCause`.
1313
*/
14-
abstract class ControlException(message: String | Null) extends Throwable(
14+
abstract class ControlException(message: String | Null) extends RuntimeException(
1515
message, /*cause*/ null, /*enableSuppression=*/ false, /*writableStackTrace*/ false):
1616

1717
def this() = this(message = null)

0 commit comments

Comments
 (0)