Writes the native message to output stream synchronously.
The message parameter is null. The output stream IO exception. The output stream was closed. The output stream does not support write operation. The native message that is to be written is not of UTF-8 encoding. The allocation of the native message buffer has failed.