public function getException($code)
    {
        if (!isset($this->exceptions[$code])) {
            throw new Exceptions\ExceptionNotDefinedException($this, $code);
        }

        return $this->exceptions[$code];
    }
public function getException($code)
    {
        if (!isset($this->exceptions[$code])) {
            throw new Exceptions\ExceptionNotDefinedException($this, $code);
        }

        return $this->exceptions[$code];
    }
public function getException ( $ code ) { if ( ! isset ( $ this -> exceptions [ $ code ] ) ) { throw new Exceptions \ ExceptionNotDefinedException ( $ this , $ code ) ; } return $ this -> exceptions [ $ code ] ; }
Retrieve an exception class given code.

@param string $code

@return string
Retrieve an exception class given code .