PHP Predefined Exception

The predefined exceptions are the exceptions that are built-in the PHP engine. They are always available, and change from version to version.

<?php

try {
     throw new RuntimeException('one error!');
} catch (Exception $e) {
     print "Caught an exception of type ".get_class($e)è;
}

?>

Documentation

Related : throw, Try-catch, Exception, Native