protected function showExceptionUser (\Exception $exception)
        {
            // todo set HTTP status and constant
            $this->lang = new Lang(get_class ());

            ShowError ($this->lang->getMessage ('BBC_COMPONENT_CATCH_EXCEPTION'));
        }
protected function showExceptionUser (\Exception $exception)
        {
            // todo set HTTP status and constant
            $this->lang = new Lang(get_class ());

            ShowError ($this->lang->getMessage ('BBC_COMPONENT_CATCH_EXCEPTION'));
        }
protected function showExceptionUser ( \ Exception $ exception ) { // todo set HTTP status and constant $ this -> lang = new Lang ( get_class ( ) ) ; ShowError ( $ this -> lang -> getMessage ( 'BBC_COMPONENT_CATCH_EXCEPTION' ) ) ; }
Display of the error for user

@param \Exception $exception
Display of the error for user