Package | Description |
---|---|
com.hazelcast.util |
This package contains classes to support the inner workings of Hazelcast
as well as some backports of newer Java features / data structures to
support older Java versions in a clean and nice way.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Throwable> |
ExceptionUtil.peel(Throwable t,
Class<T> allowedType,
String message,
ExceptionUtil.RuntimeExceptionFactory runtimeExceptionFactory)
Processes
Throwable t so that the returned Throwable 's type matches allowedType or
RuntimeException . |
static RuntimeException |
ExceptionUtil.rethrow(Throwable t,
ExceptionUtil.RuntimeExceptionFactory runtimeExceptionFactory) |
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.