Package com.google.common.collect
Class ComputationException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.google.common.collect.ComputationException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 @Deprecated @GwtCompatible public class ComputationException extends RuntimeException Deprecated.This exception is no longer thrown bycom.google.common. Previously, it was thrown byMapMakercomputing maps. When support for computing maps was removed fromMapMaker, it was added toCacheBuilder, which throwsExecutionException,UncheckedExecutionException, andExecutionError. Any code that is still catchingComputationExceptionmay 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.- Since:
- 2.0
- Author:
- Bob Lee
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ComputationException(Throwable cause)Deprecated.Creates a new instance with the given cause.
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ComputationExceptionpublic ComputationException(@CheckForNull Throwable cause) Deprecated.Creates a new instance with the given cause.
 
- 
 
-