[Mono-dev] [PATCH] Extract mono_exception_get_message_string from mono_print_exception
m.j.hutchinson at gmail.com
Thu Jul 1 20:06:36 EDT 2010
On Thu, Jul 1, 2010 at 3:44 PM, Michael Hutchinson
<m.j.hutchinson at gmail.com> wrote:
> The attached patch adds a new mono_exception_get_message_string
> function to the Mono public API, extracted from mono_print_exception.
> This makes it possible for embedders easily to convert exceptions to
> strings without printing them and without using private API.
> OK to commit to trunk?
On second thoughts, mono_exception_to_string is a better name.
Also, mono_free, as defined in mono-publib.h, does not seem to exist,
so as an embedder it's currently not possible to free the returned
More information about the Mono-devel-list