[TASK] Throw custom exception

Adds a new generic exception extending
\TYPO3\Flow\Exception that is now thrown everywhere
instead of \Exception