java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
st.orm.PersistenceException
st.orm.InvalidCursorException
- All Implemented Interfaces:
Serializable
Thrown when a cursor string cannot be turned into a position: it is malformed, was issued by an earlier cursor
format, was issued for another ordering or codec registry, or carries a value of the wrong type.
A cursor comes from a client, so this is the exception a web layer maps to its "start over from the first window" response. A cursor that is refused is never a bug in the request that refused it: the request states the ordering, and the cursor did not fit it.
- Since:
- 1.14
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidCursorException(String message) Constructs a new exception with the specified detail message.InvalidCursorException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidCursorException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message.
-
InvalidCursorException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message.cause- the cause.
-