Class InvalidQueryException
- Assembly
- Diffusion.Client.dll
Exception used to report a query that is invalid for the time series.
public sealed class InvalidQueryException : SessionException, ISerializable
- Inheritance
-
InvalidQueryException
- Implements
- Inherited Members
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(long) with a sequence number
greater than the latest sequence number, or FromLast(long)
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.
public InvalidQueryException(string message)
Parameters
messagestringThe message describing the error.
InvalidQueryException(string, Exception)
Creates a new InvalidQueryException
with a given message and an
innerException.
public InvalidQueryException(string message, Exception innerException)