final public function setErrorMessage($message)
    {
        $this->errorMessage = (string) $message;

        if (empty($this->errorMessage)) {
            throw new \RuntimeException('Error message cannot be empty !');
        }

        return $this;
    }
final public function setErrorMessage($message)
    {
        $this->errorMessage = (string) $message;

        if (empty($this->errorMessage)) {
            throw new \RuntimeException('Error message cannot be empty !');
        }

        return $this;
    }
final public function setErrorMessage ( $ message ) { $ this -> errorMessage = ( string ) $ message ; if ( empty ( $ this -> errorMessage ) ) { throw new \ RuntimeException ( 'Error message cannot be empty !' ) ; } return $ this ; }
Set error message.

@param  string $message
@return self
@throws \RuntimeException
Set error message .