@Nonnull
    public static RuntimeException rethrow(@Nonnull final Throwable t) {
        com.hazelcast.internal.util.ExceptionUtil.rethrowIfError(t);
        throw peeledAndUnchecked(t);
    }
@Test
    public void when_throwableIsExecutionExceptionWithNullCause_then_returnHazelcastException() {
        ExecutionException exception = new ExecutionException(null);
        assertThrows(JetException.class, () -> {
            throw rethrow(exception);
        });
    }