Class InvalidQueryException

Exception used to report a query that is invalid for the time series.

Inheritance
System.Object
System.Exception
SessionException
InvalidQueryException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PushTechnology.ClientInterface.Client.Features.TimeSeries
Assembly: Diffusion.Client.dll
Syntax
public sealed class InvalidQueryException : SessionException, ISerializable
Remarks

An example invalid query is one where the anchor is a sequence number beyond the end of the time series (for example, it is specified using From(Int64) with a sequence number greater than the latest sequence number, or FromLast(Int64) with a count greater than the number of events in the time series), and the span is a relative time. Since no timestamp is associated with the anchor, the range is meaningless.

Added in version 6.1.

Constructors

InvalidQueryException(String)

Creates a new InvalidQueryException with a given message.

Declaration
public InvalidQueryException(string message)
Parameters
Type Name Description
System.String message

The message describing the error.

InvalidQueryException(String, Exception)

Creates a new InvalidQueryException with a given message and an innerException.

Declaration
public InvalidQueryException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The message describing the error.

System.Exception innerException

The inner exception.

Implements

System.Runtime.Serialization.ISerializable
Back to top