public final class InvalidCursorException extends NestedException
InvalidCursorException
exception is thrown when an invalid cursor is passed
to a method that expects a cursor.A cursor is returned from methods used to list objects. You then pass the cursor back to methods that traverse the list. If this exception occurs, verify that this is the same cursor returned from the list method, and that the close method has not been called on this cursor.
NestedThrowable.Util
nested
Constructor and Description |
---|
InvalidCursorException(java.lang.String message)
Constructs a
InvalidCursorException with the specified detail message. |
InvalidCursorException(java.lang.String message,
java.lang.Throwable t)
Constructs an
InvalidCursorException that specifies the detail message and the nested exception. |
InvalidCursorException(java.lang.Throwable t)
Constructs a
InvalidCursorException that specifies the nested exception. |
getMessage, getNested, getNestedException, printStackTrace, printStackTrace, printStackTrace, superPrintStackTrace, superPrintStackTrace, superToString, toString
public InvalidCursorException(java.lang.String message, java.lang.Throwable t)
InvalidCursorException
that specifies the detail message and the nested exception.
A detail message is a String that describes this particular exception.message
- a String providing additional information about this exception.t
- the exception to be nested inside this exception.public InvalidCursorException(java.lang.Throwable t)
InvalidCursorException
that specifies the nested exception.t
- the exception to be nested inside this exception.public InvalidCursorException(java.lang.String message)
InvalidCursorException
with the specified detail message.
A detail message is a String that describes this particular exception.message
- a String providing additional information about this exception.