Class AstException
Represents an error in the abstract syntax tree of the query language.
Inheritance
Implements
Inherited Members
Namespace: TimeCockpit.Data.QueryLanguage
Assembly: TimeCockpit.Data.dll
Syntax
public class AstException : Exception, _Exception, ISerializable
Remarks
AstException
exceptions indicate a critical internal error in the Time Cockpit library.
They typically appear if the query language grammar is not in sync with the algorithms that operate
on the result AST.
Constructors
AstException()
Initializes a new instance of the AstException class
Declaration
public AstException()
AstException(SerializationInfo, StreamingContext)
Initializes a new instance of the AstException class
Declaration
protected AstException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
AstException(String)
Initializes a new instance of the AstException class
Declaration
public AstException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A message that describes the error. |
AstException(String, Exception)
Initializes a new instance of the AstException class
Declaration
public AstException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |