Class SemanticException
- Namespace
- TimeCockpit.Data.QueryLanguage
- Assembly
- TimeCockpit.Data.dll
Represents a semantic error in the abstract syntax tree of the query language.
public class SemanticException : Exception, _Exception, ISerializable
- Inheritance
-
ObjectExceptionSemanticException
- Implements
-
_ExceptionISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.MessageException.DataException.InnerExceptionException.TargetSiteException.StackTraceException.HelpLinkException.SourceException.HResultException.SerializeObjectStateObject.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.MemberwiseClone()
Remarks
SemanticException 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
SemanticException()
Initializes a new instance of the SemanticException class
public SemanticException()
SemanticException(SerializationInfo, StreamingContext)
Initializes a new instance of the SemanticException class
protected SemanticException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
SemanticException(String)
Initializes a new instance of the SemanticException class
public SemanticException(string message)
Parameters
messageStringA message that describes the error.
SemanticException(String, Exception)
Initializes a new instance of the SemanticException class
public SemanticException(string message, Exception innerException)
Parameters
messageStringA message that describes the error.
innerExceptionExceptionThe 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.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.