public class UncaughtCheckedException extends RuntimeException
ThrowingFunction.catchThrown(Class, ThrowingFunction)| Constructor and Description |
|---|
UncaughtCheckedException(Object source,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
getCauseIfOfType(Class<E> clazz)
Check that the cause has the given type and if successful, return it.
|
Object |
source() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic <E extends Exception> Optional<E> getCauseIfOfType(Class<E> clazz)
E - the desired type of the causeclazz - class object for the desired type of the causepublic Object source()
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.