Exceptions
There are some cases where exceptions are thrown automatically. You can use throw
to throw an exception manually. The effect of an exception is that the currently executing call is stopped and reverted (that is, all changes to the state and balances are undone). Catching exceptions is not possible:
contract sample { function myFunction() { throw; } }