Table of Contents

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

message string

Exception message.

callerFilePath string

Full path of the source file that contains the caller. This is the file path at the time of compile.

Do not pass any value.

callerMemberName string

Method or property name of the caller to the method.

Do not pass any value.

callerLineNumber int

Line 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

message string

Exception message.

innerException Exception

Inner exception.

callerFilePath string

Full path of the source file that contains the caller. This is the file path at the time of compile.

Do not pass any value.

callerMemberName string

Method or property name of the caller to the method.

Do not pass any value.

callerLineNumber int

Line number in the source file at which the method is called.

Do not pass any value.