Top Description Fields Constructors
com.google.common.collect

public Class ComputationException

extends RuntimeException
Class Inheritance
Annotations
@Deprecated
@GwtCompatible
@ElementTypesAreNonnullByDefault
Imports
com.google.common.annotations.GwtCompatible, javax.annotation.CheckForNull

Deprecated

This exception is no longer thrown by 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.)

Wraps an exception that occurred during a computation.
Author
Bob Lee
Since
2.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ComputationException(Throwable cause)

Creates a new instance with the given cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

ComputationExceptionback to summary
public ComputationException(Throwable cause)

Creates a new instance with the given cause.