private function throwException($message,array $stackTrace , $error = true )
    {
        $this->exception($message,$stackTrace,$error);
    }
private function throwException($message,array $stackTrace , $error = true )
    {
        $this->exception($message,$stackTrace,$error);
    }
private function throwException ( $ message , array $ stackTrace , $ error = true ) { $ this -> exception ( $ message , $ stackTrace , $ error ) ; }
setting exception state log
@param string $message error message
@param array $stackTrace statck trace
@param boolean $error if it's an error
setting exception state log