public function setTraceMessage($traceMessage)
    {
        if (gettype($traceMessage) === 'string') {
            $this->traceMessage = $traceMessage;
        } else {
            $msg = "The traceMessage argument must be a string, '" . gettype($traceMessage) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }