function TriggerContent($c, $db){
    try {
        include 'pages/' . $c . '.php';
        $content= getContent();
    } catch (Exception $e){
        $content = 'Error';
    }
    return $content;
}
What I want it do is display the error if the php file doesn't exists.
But it doesn't work... 
What am I doing wrong?
Or will this just not work with try catch in php?