Throwing an exception involves manually throwing a statement that is not already automatically thrown by the JVM. The general format for the throw clause is:

throw exceptOb;

In this case, the exceptOb must be an object of an exception class derived from Throwable.