Skip to main content
Version: 2025

SalSqlError

Namespace: PPJ.Runtime.Sql

Assembly: PPJ.Web.49 (4.9.0.0)

SalSqlError implementation.

public class SalSqlError : ApplicationException

Constructors

Instance memberSalSqlError(err, pos, message)

Constructor

NameTypeDescription
errInt32
posInt32
messageString

Instance memberSalSqlError(err, pos, message, source)

Constructor

NameTypeDescription
errInt32
posInt32
messageString
sourceException

Instance memberSalSqlError(source)

Constructor

NameTypeDescription
sourceException

Properties

Instance memberHasReturnValue

Boolean: Returns true if the return value was set.

Instance memberNumber

Int32: Error number

Instance memberPosition

Int32: Error position

Instance memberReturn

Boolean: Return value. When set, the flag HasReturnValue is also flipped to true.

Methods

Static memberGetErrorText(errorCode)

Returns the error text corresponding to the error code. Error texts are saved as errors are generated. If an error has never been generated, requesting the error text for the error code will return a null string.

ParameterTypeDescription
errorCodeInt32

Returns: String.

Static memberSetErrorText(err, text)

Saves the error code into the global cache of errors.

ParameterTypeDescription
errInt32
textString