public function registerExceptionHandler(string $projectPath)
    {
        if (null === $this->exceptionHandler) {
            return false;
        }

        $callback = $this->createCallback(
                $this->exceptionHandler['class'],
                $this->exceptionHandler['method'],
                $projectPath
        );
        set_exception_handler($callback);
        return $callback[0];
    }