public class ExceptionTranslators extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ExceptionTranslators.FunctionWithException<F,T> |
Constructor and Description |
---|
ExceptionTranslators() |
Modifier and Type | Method and Description |
---|---|
static <F,T> Function<F,T> |
toRuntimeException(ExceptionTranslators.FunctionWithException<F,T> function) |
static <F,T> Function<F,T> |
toRuntimeException(ExceptionTranslators.FunctionWithException<F,T> function,
Function<Exception,? extends RuntimeException> exceptionTranslator) |
public static <F,T> Function<F,T> toRuntimeException(ExceptionTranslators.FunctionWithException<F,T> function, Function<Exception,? extends RuntimeException> exceptionTranslator)
public static <F,T> Function<F,T> toRuntimeException(ExceptionTranslators.FunctionWithException<F,T> function)
Copyright © 2021 Atlassian. All rights reserved.