Java throws exceptions. C++ destroys your computer.