TYPO3 6.2如何使用Try-Catch Block

I just read an introduction to Exceptions in PHP and wanted to use them in my TYPO3 Extension, but I get an error when using this...

try{
   if(arrayEmpty){
        throw new Exception('Error Msg...');
   }
} catch (Exception $e){
  $this->addFlashMessage($e->getMessage());
}

Fatal error: Class '...\Exception' not found in /.../controller.php on line ...

Do I have to put in some kind of namespace at the top of my php file or how should I make this work?

If you are working with namespaces, it should be throw new \Exception(...);.