scala.util.control.Exception

class By

[source: scala/util/control/Exception.scala]

class By[T, R](f : (T) => R)
extends AnyRef
Returns a partially constructed Catch object, which you must give an exception handler function as an argument to "by". Example: handling(ex1, ex2) by (_.printStackTrace)
Method Summary
def by (x : T) : R
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def by(x : T) : R