Class TimeSeries.InvalidQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pushtechnology.diffusion.client.session.SessionException
com.pushtechnology.diffusion.client.features.TimeSeries.InvalidQueryException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- TimeSeries
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidQueryException
Constructor.- Parameters:
message
- the exception message
-