Wraps a "try" block around the function f.
Wraps a "try" block around the function f. Takes only one Class of exception to ignore
- a single exception classes to ignore. A thrown exception will be ignored if it is assignable from this class.
- the block of code to evaluate
Wraps a "try" block around the function f
Wraps a "try" block around the function f
- a list of exception classes to ignore. A thrown exception will be ignored if it is assignable from one of the exception classes in the list
- the block of code to evaluate
Wraps a "try" block around the function f and trigger a callback function if an exception is thrown
Wraps a "try" block around the function f and trigger a callback function if an exception is thrown
- an optional callback function that will use the thrown exception as a parameter
- the block of code to evaluate
Wraps a "try" block around the function f
Wraps a "try" block around the function f
- the block of code to evaluate
Wraps a "try" block around the function f.
Wraps a "try" block around the function f. If f throws an exception that is in the domain of the handler PF, the handler will be invoked on the exception. Otherwise the exception is wrapped into a Failure.
- A partial function that handles exceptions
- the block of code to evaluate
net.liftweb.common.Failure
Wraps a "try" block around the function f.
Wraps a "try" block around the function f. If f throws an exception with its class in the 'ignore' list or if 'ignore' is null or an empty list, ignore the exception and return None.
- a list of exception classes to ignore. A thrown exception will be ignored if it is assignable from one of the exception classes in the list
- an optional callback function that will use the thrown exception as a parameter
- the block of code to evaluate