Class PythonAsyncioRuntime.ExceptionCompleter

java.lang.Object
io.micronaut.context.python.PythonAsyncioRuntime.ExceptionCompleter
Enclosing class:
PythonAsyncioRuntime

public static final class PythonAsyncioRuntime.ExceptionCompleter extends Object
Completes futures with Java exceptions from Python exception data.
  • Method Details

    • completeExceptionally

      public void completeExceptionally(CompletableFuture<?> future, String exceptionType, String message)
      Complete a future exceptionally.
      Parameters:
      future - The future.
      exceptionType - The Python exception type.
      message - The Python exception message.