ExceptionsGetExceptionType Method (Exception, ILogger, String, String) |
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 public static ExceptionType Get<ExceptionType>(
Exception innerException = null,
ILogger logger = null,
string message = "",
params string[] messageParams
)
where ExceptionType : MicaException, IMicaException
Parameters
- innerException (Optional)
- Type: SystemException
- logger (Optional)
- Type: MicaSystems.UtilsILogger
- message (Optional)
- Type: SystemString
- messageParams
- Type: SystemString
Type Parameters
- ExceptionType
Return Value
Type:
ExceptionTypeSee Also