ExceptionHelperCleanException Method  | 
 
            Given an original exception, cleans the exception to remove the stack trace if applicable.
            
 
    Namespace: 
   Dundas.BI.WebApi
    Assembly:
   Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic static Exception? CleanException(
	Exception originalException
)
Public Shared Function CleanException ( 
	originalException As Exception
) As Exception
public:
static Exception^ CleanException(
	Exception^ originalException
)
static member CleanException : 
        originalException : Exception -> Exception 
Parameters
- originalException
 - Type: SystemException
The original exception to clean. 
Return Value
Type: 
ExceptionThe cleaned exception, or the original exception given, if any.
See Also