com.google.common. Previously, it was thrown by
MapMakercomputing maps. When support for computing maps was removed from
MapMaker, it was added to
CacheBuilder, which throws
ExecutionError. Any code that is still catching
ComputationExceptionmay 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 RuntimeException
|Constructor and Description|
Creates a new instance with the given cause.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ComputationException(@Nullable Throwable cause)
Copyright © 2010–2019. All rights reserved.