public function isHandlingUncaughtException($env, $exception = null)
    {
        $this->swapArgs($env, $exception, $this->running_env);
        
        $is_handling = false;
        if (isset($this->exceptions[$env])) {
            if (is_object($exception)) {
                $exception = Objects::getFullName($exception);
            }
            foreach($this->exceptions[$env] as $e) {
                if (is_subclass_of($exception, $e) || $exception == $e) {
                    $is_handling = true;
                    break;
                }
            }
        }
        
        return $is_handling;
    }