Class AsyncFetchStatus.CompletedWithException

java.lang.Object
org.firebirdsql.gds.ng.wire.AsyncFetchStatus.Pending
org.firebirdsql.gds.ng.wire.AsyncFetchStatus.CompletedWithException
All Implemented Interfaces:
AsyncFetchStatus
Enclosing interface:
AsyncFetchStatus

public static final class AsyncFetchStatus.CompletedWithException extends AsyncFetchStatus.Pending
Signals an async fetch which completed with an exception.

Although the async operation itself completed, this is considered to be still pending, where the completion operation is throwing the exception to the caller of a fetch.

  • Method Details

    • exception

      public Optional<SQLException> exception()
      Returns:
      exception from the last unsuccessfully completed asynchronous fetch