source/Core/Exception/ExceptionToDisplay.php
public function getOxMessage()
    {
        if ($this->_blDebug) {
            return $this;
        } else {
            $sString = \OxidEsales\Eshop\Core\Registry::getLang()->translateString($this->_sMessage);

            if (!empty($this->_aMessageArgs)) {
                $sString = vsprintf($sString, $this->_aMessageArgs);
            }

            return $sString;
        }
    }
public function getOxMessage()
    {
        if ($this->_blDebug) {
            return $this;
        } else {
            $sString = \OxidEsales\Eshop\Core\Registry::getLang()->translateString($this->_sMessage);

            if (!empty($this->_aMessageArgs)) {
                $sString = vsprintf($sString, $this->_aMessageArgs);
            }

            return $sString;
        }
    }
public function getOxMessage ( ) { if ( $ this -> _blDebug ) { return $ this ; } else { $ sString = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> translateString ( $ this -> _sMessage ) ; if ( ! empty ( $ this -> _aMessageArgs ) ) { $ sString = vsprintf ( $ sString , $ this -> _aMessageArgs ) ; } return $ sString ; } }
Returns translated exception message

@return string
Returns translated exception message