Create new function: exception catch.