This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Rethrows an exception, wrapping the given exception, with a new exception message.

Namespace: Smartsite.Base
Assembly:  Smartsite.Base (in Smartsite.Base.dll)

Syntax

C#Copy imageCopy Code
public static void ReThrow(
	 ex,
	string message,
	params [] args
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Sub ReThrow ( _
	ex As , _
	message As , _
	ParamArray args As () _
)

Parameters

ex
Exception
The exception.
message
String
The new exception message.
args
array<Object>[]()
The arguments to format the message with, if any.

See Also

Advanced