Skip to content

WrappedException.CreateAndRethrow(Exception)

CreateAndRethrow(Exception)

static
View source
public static void CreateAndRethrow(Exception exception)
Creates a new instance of the WrappedException class and rethrows it using the provided exception's stack trace.

Parameters

exceptionException
The exception.