com.google.common
. Previously, it was
thrown by MapMaker
computing maps. When support for computing maps was removed from
MapMaker
, it was added to CacheBuilder
, which throws ExecutionException
, UncheckedExecutionException
, and ExecutionError
. Any
code that is still catching ComputationException
may need to be updated to catch some
of those types instead. (Note that this type, though deprecated, is not planned to be removed
from Guava.)@Deprecated @GwtCompatible public class ComputationException extends java.lang.RuntimeException
Constructor and Description |
---|
ComputationException(@Nullable java.lang.Throwable cause)
Deprecated.
Creates a new instance with the given cause.
|
public ComputationException(@Nullable java.lang.Throwable cause)
Copyright © 2010–2021. All rights reserved.