Constructor SanityCheckException
- Namespace
- WhalesSecret.TradeScriptLib.Exceptions
- Assembly
- WhalesSecret.TradeScriptLib.dll
SanityCheckException(string, string, string, int)
Initializes a new instance of the SanityCheckException class with a specified error message.
public SanityCheckException(string message, string callerFilePath = "", string callerMemberName = "", int callerLineNumber = -1)
Parameters
messagestringException message.
callerFilePathstringFull path of the source file that contains the caller. This is the file path at the time of compile.
Do not pass any value.
callerMemberNamestringMethod or property name of the caller to the method.
Do not pass any value.
callerLineNumberintLine number in the source file at which the method is called.
Do not pass any value.
SanityCheckException(string, Exception, string, string, int)
Initializes a new instance of the SanityCheckException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public SanityCheckException(string message, Exception innerException, string callerFilePath = "", string callerMemberName = "", int callerLineNumber = -1)
Parameters
messagestringException message.
innerExceptionExceptionInner exception.
callerFilePathstringFull path of the source file that contains the caller. This is the file path at the time of compile.
Do not pass any value.
callerMemberNamestringMethod or property name of the caller to the method.
Do not pass any value.
callerLineNumberintLine number in the source file at which the method is called.
Do not pass any value.