throw -1; // throw an integer value throw ENUM_INVALID_INDEX; // throw an enum value throw "Invalid argument!"; // throw a literal C-style (const char*) string double pi=3.14159; throw pi; // throw a double variable that was previously defined throw MyException("Fatal!"); // Throw an object of class MyException