C style exceptions with examples.