scala.util.control.Exception

By

class By[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)

Inherits

  1. AnyRef
  2. Any

Value Members

  1. def by(x: T): R

  2. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  3. def hashCode(): Int

    Returns a hash code value for the object

  4. def toString(): String

    Returns a string representation of the object

Instance constructors

  1. new By(f: (T) ⇒ R)

  2. new By()