Use try/catch.