Class TigerQueryException
- Namespace
- ItTiger.TigerQuery
- Assembly
- ItTiger.TigerQuery.dll
Represents a TigerQuery or sqlcmd structural parsing failure.
[Serializable]
public class TigerQueryException : Exception, ISerializable
- Inheritance
-
TigerQueryException
- Implements
- Derived
- Inherited Members
Remarks
This exception does not represent SQL Server T-SQL syntax, compilation,
permission, connection, or runtime errors. Source coordinates are nullable
because not every parser failure currently supplies them.
OutputRoutingException derives from this type, so a caller that
needs to distinguish an output failure from a structural parse failure must
test for the derived type first.
Constructors
TigerQueryException()
Initializes an exception without a message or source position.
public TigerQueryException()
TigerQueryException(string)
Initializes an exception with a message.
public TigerQueryException(string message)
Parameters
messagestring- The error message.
TigerQueryException(string, Exception)
Initializes an exception with a message and underlying exception.
public TigerQueryException(string message, Exception inner)
Parameters
TigerQueryException(string, int?, int?)
Initializes an exception with optional source coordinates.
public TigerQueryException(string message, int? line, int? column)
Parameters
messagestring- The error message without a location prefix.
lineint?- The one-based source line, or null.
columnint?- The one-based source column, or null.
Remarks
When either coordinate is present, the formatted Message
is prefixed with both line and column; a missing coordinate is displayed as zero.
Properties
Column
Gets the one-based source column, or null when unavailable.
public int? Column { get; }
Property Value
- int?
Line
Gets the one-based source line, or null when unavailable.
public int? Line { get; }
Property Value
- int?