Class InvalidQueryException

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

Inheritance
System.Object
SessionException
InvalidQueryException
Namespace: PushTechnology.ClientInterface.Client.Features.TimeSeries
Assembly: Diffusion.Client.dll
Syntax
public sealed class InvalidQueryException : SessionException
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.

Exception innerException

The inner exception.

Back to top