We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26e9a0 commit dcac92dCopy full SHA for dcac92d
library/src/scala/util/control/ControlException.scala
@@ -11,7 +11,7 @@ package scala.util.control
11
* Instances of `ControlException` should not normally have a cause.
12
* Legacy subclasses may set a cause using `initCause`.
13
*/
14
-abstract class ControlException(message: String | Null) extends Throwable(
+abstract class ControlException(message: String | Null) extends RuntimeException(
15
message, /*cause*/ null, /*enableSuppression=*/ false, /*writableStackTrace*/ false):
16
17
def this() = this(message = null)
0 commit comments