Catch exception in one line