<PackageReference Include="Relativity.Server.Utility.SDK" Version="14.2.7" />

ExecuteSQLStatementFailedException

Represents an exceptional failure attempting to execute a SQL statement.
public string ExecutedStatement { get; set; }

public IEnumerable SQLParameters { get; set; }

Initializes a new instance of ExecuteSQLStatementFailedException.

public ExecuteSQLStatementFailedException(string message)

Initializes a new instance of ExecuteSQLStatementFailedException with the specified message.

Initializes a new instance of ExecuteSQLStatementFailedException based on the specified exception.

public ExecuteSQLStatementFailedException(string message, Exception innerException)

Initializes a new instance of ExecuteSQLStatementFailedException with the specified message and inner exception.

public ExecuteSQLStatementFailedException(Exception innerException, string executedSQL)

Initializes a new instance of ExecuteSQLStatementFailedException with the specified inner exception and the sql that failed.

public ExecuteSQLStatementFailedException(Exception innerException, string executedSQL, IEnumerable parameters)

Initializes a new instance of ExecuteSQLStatementFailedException with the specified inner exception and the sql that failed (along with its parameters).

public ExecuteSQLStatementFailedException(string message, string executedSQL, Exception innerException)

Initializes a new instance of ExecuteSQLStatementFailedException with the specified message, inner exception, and the sql that failed (along with its parameters).

public ExecuteSQLStatementFailedException(string message, string executedSQL, IEnumerable parameters, Exception innerException)

Initializes a new instance of ExecuteSQLStatementFailedException with the specified message, inner exception, and the sql that failed (along with its parameters).

Initializes a new instance of ExecuteSQLStatementFailedException with serialized data.

public void SecureParameter(string parameterName)

Overrides the value of a sensitive parameter with a constant security string.