Attempts to compute attempt
, suppressing the specified exception.
Attempts to compute attempt
, suppressing the specified exception.
attempt wrapped in an scala.Option, or scala.None if an exception of type U is thrown
Performs the given operation on the provided closeable resource after which the resource is closed.
Performs the given operation on the provided closeable resource after which the resource is closed.
closeable resource
result of the operation
the resource to operate on: a file reader, database connection, ...
the operation to perform on the resource: read/write to a file, database, ...
the result of the operation
com.mle.util.Utils.using