scala.util.control.Exception
Returns a partially constructed Catch object, which you must give an exception handler function as an argument to by. Example:
Catch
by
handling(ex1, ex2) by (_.printStackTrace)
Returns string formatted according to given format string.
format
Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).
String.format
Returns a partially constructed
Catch
object, which you must give an exception handler function as an argument toby
. Example: