Toggle navigation
Home
java.lang.Throwable to java.util.Optional<java.lang.Throwable>
No. of Instances - 3
No. of Commits - 2
No. of Projects - {'junit5', 'flink'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
throwable.getMessage()
to
throwable.map(Throwable::getMessage).orElse(null)
Preconditions.checkNotNull(cause,"Must give a cause fail fail.")
to
Optional.of(cause)
Rename Variable
failExternallyCause
to
actualExternalFailureCause