Class TimeSeries.InvalidQueryException

All Implemented Interfaces:
Serializable
Enclosing interface:
TimeSeries

public static final class TimeSeries.InvalidQueryException extends SessionException
Exception used to report a query that is invalid for the time series.

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 TimeSeries.RangeQuery.from(long) with a sequence number greater than the latest sequence number, or TimeSeries.RangeQuery.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.

See Also:
  • Constructor Details

    • InvalidQueryException

      public InvalidQueryException(String message)
      Constructor.
      Parameters:
      message - the exception message