Testing uncaught exception catching

feature/node-rewrite
Sven Slootweg 13 years ago
parent 7cd3900228
commit 8443413d4c

@ -13,11 +13,18 @@ $settings['master_privkey'] = "/etc/cvm/key";
$settings['master_pubkey'] = "/etc/cvm/key.pub"; $settings['master_pubkey'] = "/etc/cvm/key.pub";
$sNode = new Node(1); $sNode = new Node(1);
try
{
var_dump($sNode->sRealHostname); var_dump($sNode->sRealHostname);
var_dump($sNode->sRealHostname); var_dump($sNode->sRealHostname);
var_dump($sNode->sRealHostname); var_dump($sNode->sRealHostname);
var_dump($sNode->sRealHostname); var_dump($sNode->sRealHostname);
var_dump($sNode->sRealHostname); var_dump($sNode->sRealHostname);
var_dump($sNode->sRealHostname); var_dump($sNode->sRealHostname);
}
catch (Exception $e)
{
echo("An exception occurred.");
}
?> ?>

Loading…
Cancel
Save