Click or drag to resize

ExceptionsGetExceptionType Method (String, Exception)

Creates an new instance of ExceptionType (inheriting from MicaException).

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static ExceptionType Get<ExceptionType>(
	string message,
	Exception innerException = null
)
where ExceptionType : MicaException, IMicaException

Parameters

message
Type: SystemString
innerException (Optional)
Type: SystemException

Type Parameters

ExceptionType

Return Value

Type: ExceptionType
See Also