-
Notifications
You must be signed in to change notification settings - Fork 7
Error handling
firegloves edited this page Jul 20, 2022
·
1 revision
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.