This might be a really dumb question, but I've been looking for a couple days but can't find an explicit answer.
If I am doing just a basic transaction, how do I know if the transaction fails? Is it just a matter of catching exceptions?