if (mMessage) { CopyASCIItoUCS2(nsDependentCString(mMessage), aMessage);
const ResultStruct *rs = NSResultToResultStruct(mResult);  if (rs) { *aMessage = nsCRT::strdup(rs->mMessage); } else { *aMessage = nsnull;
nsDOMException::GetMessage(nsAWritableString& aMessage){  if (mMessage) {    CopyASCIItoUCS2(nsDependentCString(mMessage), aMessage);  }  else {    aMessage.Truncate();  }    return NS_OK;}