| Method and Description |
|---|
| org.neo4j.helpers.Exceptions.combine(E, E)
Use
Throwable.addSuppressed(Throwable) and Throwable.initCause(Throwable) where
appropriate instead. |
| org.neo4j.helpers.Exceptions.launderedException(Class<T>, String, Throwable)
use
throw e or throw new RuntimeException(e) directly. Prefer multi-caches if applicable.
For more elaborate scenarios, have a look at Exceptions.throwIfUnchecked(Throwable) and
Exceptions.throwIfInstanceOf(Throwable, Class)
For a more furrow explanation take a look at the very similar case:
Why we deprecated |
| org.neo4j.helpers.Exceptions.launderedException(Class<T>, Throwable) |
| org.neo4j.helpers.Exceptions.launderedException(String, Throwable) |
| org.neo4j.helpers.Exceptions.launderedException(Throwable) |
| org.neo4j.helpers.Exceptions.withCause(T, Throwable)
Use
Throwable.initCause(Throwable) instead. |
| org.neo4j.helpers.Exceptions.withSuppressed(T, Throwable...)
Use
Throwable.addSuppressed(Throwable) instead. |
Copyright © 2002–2019 The Neo4j Graph Database Project. All rights reserved.