Skip to content

Error handling

firegloves edited this page Jul 20, 2022 · 1 revision

Error handling

Depending on the use of CompletableFuture usage, MemPOI can throw 2 different exceptions: ExecutionException and CompletionException, both containing a MempoiException accessible with e.getCause(). According to CompletableFuture you'll receive an ExecutionException if you call CompletableFuture's get() method, whereas you'll receive a CompletionException if you call CompletableFuture's join() method.

Clone this wiki locally