Class PythonAsyncioRuntime.ExceptionCompleter
java.lang.Object
io.micronaut.context.python.PythonAsyncioRuntime.ExceptionCompleter
- Enclosing class:
PythonAsyncioRuntime
Completes futures with Java exceptions from Python exception data.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteExceptionally(CompletableFuture<?> future, String exceptionType, String message) Complete a future exceptionally.
-
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.
-