Scala Library: scala.util.control.ControlThrowable
scala.util.control.ControlThrowable
A marker trait indicating that the Throwable
it is mixed into is intended for
flow control.
Note that Throwable
subclasses which extend this trait may extend any other
Throwable
subclass (eg. RuntimeException
) and are not required to extend
Throwable
directly.
Instances of Throwable
subclasses marked in this way should not normally be
caught. Where catch-all behaviour is required ControlThrowable
should be
propagated, for example:
Value Members From java.lang.Throwable
final def addSuppressed(arg0: java.lang.Throwable): Unit
- Definition Classes
- Throwable
(defined at java.lang.Throwable)
def getCause(): java.lang.Throwable
- Definition Classes
- Throwable
(defined at java.lang.Throwable)
final def getSuppressed(): Array[java.lang.Throwable]
- Definition Classes
- Throwable
(defined at java.lang.Throwable)
def initCause(arg0: java.lang.Throwable): java.lang.Throwable
- Definition Classes
- Throwable
(defined at java.lang.Throwable)
def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
(defined at java.lang.Throwable)
def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
(defined at java.lang.Throwable)
def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable (defined at java.lang.Throwable)
Full Source:
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.