Direct call example, add database exception handler