public function install()
    {
        if (0 === $this->isolator->error_reporting()) {
            throw new ErrorHandlingConfigurationException();
        }

        if ($this->isInstalled()) {
            throw new AlreadyInstalledException();
        }

        $this->stack->push($this);
    }
public function install()
    {
        if (0 === $this->isolator->error_reporting()) {
            throw new ErrorHandlingConfigurationException();
        }

        if ($this->isInstalled()) {
            throw new AlreadyInstalledException();
        }

        $this->stack->push($this);
    }
public function install ( ) { if ( 0 === $ this -> isolator -> error_reporting ( ) ) { throw new ErrorHandlingConfigurationException ( ) ; } if ( $ this -> isInstalled ( ) ) { throw new AlreadyInstalledException ( ) ; } $ this -> stack -> push ( $ this ) ; }
Installs this error handler.

@throws AlreadyInstalledException           If this error handler is already the top-most handler on the stack.
@throws ErrorHandlingConfigurationException If the error reporting level is incorrectly configured.
Installs this error handler .