public function __construct() { parent::__construct('Document was not found.'); }
public function __construct($class, $type) { parent::__construct("The class '" . $class . "' is not of the expected type '" . $type . "'."); }