public static class CombinedTypeSolver.ExceptionHandlers extends Object
| Modifier and Type | Field and Description |
|---|---|
static Predicate<Exception> |
IGNORE_ALL
Ignores all exceptions
|
static Predicate<Exception> |
IGNORE_NONE
Doesn't ignore any exceptions (default)
|
static Predicate<Exception> |
IGNORE_UNSOLVED_SYMBOL
Ignores any exception that is
assignable from
UnsolvedSymbolException. |
static Predicate<Exception> |
IGNORE_UNSUPPORTED_AND_UNSOLVED
Ignores any exception that is
assignable from either
UnsolvedSymbolException or UnsupportedOperationException. |
static Predicate<Exception> |
IGNORE_UNSUPPORTED_OPERATION
Ignores any exception that is
assignable from
UnsupportedOperationException. |
| Constructor and Description |
|---|
ExceptionHandlers() |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<Exception> |
getTypeBasedBlacklist(Class<? extends Exception>... blacklist) |
static Predicate<Exception> |
getTypeBasedWhitelist(Class<? extends Exception>... whitelist) |
public static final Predicate<Exception> IGNORE_NONE
public static final Predicate<Exception> IGNORE_UNSUPPORTED_OPERATION
assignable from
UnsupportedOperationException.getTypeBasedWhitelist(Class...)public static final Predicate<Exception> IGNORE_UNSOLVED_SYMBOL
assignable from
UnsolvedSymbolException.getTypeBasedWhitelist(Class...)public static final Predicate<Exception> IGNORE_UNSUPPORTED_AND_UNSOLVED
assignable from either
UnsolvedSymbolException or UnsupportedOperationException.public static Predicate<Exception> getTypeBasedBlacklist(Class<? extends Exception>... blacklist)
assignable from
the thrown exception class.CombinedTypeSolver.setExceptionHandler(Predicate),
getTypeBasedWhitelist(Class...)public static Predicate<Exception> getTypeBasedWhitelist(Class<? extends Exception>... whitelist)
assignable from
the thrown exception class.CombinedTypeSolver.setExceptionHandler(Predicate),
getTypeBasedBlacklist(Class...)Copyright © 2007–2019. All rights reserved.