Scala 2.8.0.r0-b20090810214045 API

This document is the API specification for Scala Library

Class Summary
class Breaks extends AnyRef
An object that can be used for the break control abstraction. Example usage:

  import Breaks.{break, breakable}

  breakable {
    for (...) {
      if (...) break
    }
  }
trait ControlException extends java.lang.Throwable
A marker trait indicating that the Throwable it is mixed into is intended for flow control.
abstract class TailRec [+A] extends AnyRef
Object Summary
object Breaks extends Breaks
A singleton object providing the Break functionality
object Exception extends AnyRef
Classes representing the components of exception handling. Each class is independently composable. Some common uses:
  import scala.util.control.Exception._
  import java.net._

  val s = "http://www.scala-lang.org/"
  val x1 = catching(classOf[MalformedURLException]) opt new URL(s)
  val x2 = catching(classOf[MalformedURLException], classOf[NullPointerException]) either new URL(s)
  
object TailRec extends AnyRef